From b702d7534723421bfa96363570f1c7d4a87491e5 Mon Sep 17 00:00:00 2001 From: MrZ_26 <1046101471@qq.com> Date: Thu, 12 Sep 2024 06:22:35 +0800 Subject: [PATCH] =?UTF-8?q?exterior=E6=B8=B8=E6=88=8F=E5=9C=BA=E6=99=AF?= =?UTF-8?q?=E4=B8=AD=E9=BC=A0=E6=A0=87=E8=BE=93=E5=85=A5=E4=B9=9F=E4=BC=9A?= =?UTF-8?q?=E4=BC=A0=E5=85=A5=E6=8C=89=E9=94=AE=E4=BA=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- assets/scene/game_out.lua | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/assets/scene/game_out.lua b/assets/scene/game_out.lua index 74057f9f..a0416c33 100644 --- a/assets/scene/game_out.lua +++ b/assets/scene/game_out.lua @@ -93,14 +93,14 @@ function scene.touchUp(x,y,id) GAME.cursorUp(x,y,id) end -function scene.mouseDown(x,y,_) - GAME.cursorDown(x,y,1) +function scene.mouseDown(x,y,button) + GAME.cursorDown(x,y,button) end function scene.mouseMove(x,y,dx,dy) - GAME.cursorMove(x,y,dx,dy,1) + GAME.cursorMove(x,y,dx,dy,false) end -function scene.mouseUp(x,y,_) - GAME.cursorUp(x,y,1) +function scene.mouseUp(x,y,button) + GAME.cursorUp(x,y,button) end function scene.update(dt)