From 6094841c70322fa96cfeabe02d66e73e2a855187 Mon Sep 17 00:00:00 2001 From: MrZ_26 <1046101471@qq.com> Date: Thu, 12 Sep 2024 17:20:45 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AEexterior=E8=A7=A6=E6=91=B8=E9=97=AE?= =?UTF-8?q?=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- assets/game/init.lua | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/assets/game/init.lua b/assets/game/init.lua index fb3b6dce..87a88393 100644 --- a/assets/game/init.lua +++ b/assets/game/init.lua @@ -336,7 +336,7 @@ function GAME.cursorDown(x,y,tid,id) x,y=GAME.camera.transform:inverseTransformPoint(SCR.xOy_m:inverseTransformPoint(SCR.xOy:transformPoint(x,y))) p:mouseDown(x,y,tid) elseif SETTINGS.system.touchControl then - VCTRL.press(x,y,id) + VCTRL.press(x,y,tid) end end @@ -351,7 +351,7 @@ function GAME.cursorMove(x,y,dx,dy,tid,id) 3 ) elseif SETTINGS.system.touchControl then - VCTRL.move(x,y,id) + VCTRL.move(x,y,tid) end end @@ -361,7 +361,7 @@ function GAME.cursorUp(x,y,tid,id) x,y=GAME.camera.transform:inverseTransformPoint(SCR.xOy_m:inverseTransformPoint(SCR.xOy:transformPoint(x,y))) p:mouseUp(x,y,tid) elseif SETTINGS.system.touchControl then - VCTRL.release(id) + VCTRL.release(tid) end end