From 48ce04507ecf6f4774ee5c5ff9b262282960f65b Mon Sep 17 00:00:00 2001 From: "Squishy (C6H12O6+NaCl+H2O)" <106439598+SweetSea-ButImNotSweet@users.noreply.github.com> Date: Fri, 24 May 2024 22:42:12 +0700 Subject: [PATCH] Remove id = b (it was there for test) --- main.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/main.lua b/main.lua index 444087e..fdd7efd 100644 --- a/main.lua +++ b/main.lua @@ -139,12 +139,12 @@ end function love.mousepressed(x, y, b, isTouch, presses) if isTouch then return end local x,y=GLOBAL_TRANSFORM:inverseTransformPoint(x,y) - SCENE:onInputPress{type = "mouse", x = x, y = y, id = b, presses = presses} + SCENE:onInputPress{type = "mouse", x = x, y = y, presses = presses} end function love.mousereleased(x, y, b, isTouch, presses) if isTouch then return end local x,y=GLOBAL_TRANSFORM:inverseTransformPoint(x,y) - SCENE:onInputRelease{type = "mouse", x = x, y = y, id = b, presses = presses} + SCENE:onInputRelease{type = "mouse", x = x, y = y, presses = presses} end function love.mousemoved(x, y, dx, dy, isTouch) if isTouch then return end