aboutsummaryrefslogtreecommitdiff
path: root/main.lua
diff options
context:
space:
mode:
Diffstat (limited to 'main.lua')
-rw-r--r--main.lua2
1 files changed, 1 insertions, 1 deletions
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