From cffe98dc03bc1113fe9d665c04bfb17cfde24a57 Mon Sep 17 00:00:00 2001 From: 1029chris <1029chris@gmail.com> Date: Mon, 17 Oct 2016 14:49:55 -0700 Subject: Fixed mouse glitch --- main.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.lua b/main.lua index 565e613..8ab39d5 100644 --- a/main.lua +++ b/main.lua @@ -61,7 +61,7 @@ function love.mousepressed(x, y, button) if scene ~= 0 then sys.mouse.p.x = x sys.mouse.p.y = y - if button == 2 then + if button ~= 1 then sys.mouse.p.p = false end if button == 1 then -- cgit