diff --git a/Zframework/init.lua b/Zframework/init.lua index 28a333b9..78213706 100644 --- a/Zframework/init.lua +++ b/Zframework/init.lua @@ -165,7 +165,7 @@ function love.touchpressed(id,x,y) if SCN.touchDown then SCN.touchDown(x,y)end if kb.hasTextInput()then kb.setTextInput(false)end end -function love.touchmoved(id,x,y,dx,dy) +function love.touchmoved(_,x,y,dx,dy) if SCN.swapping then return end x,y=xOy:inverseTransformPoint(x,y) if SCN.touchMove then SCN.touchMove(x,y,dx/SCR.k,dy/SCR.k)end diff --git a/parts/scenes/net_game.lua b/parts/scenes/net_game.lua index de4f162c..65b9de34 100644 --- a/parts/scenes/net_game.lua +++ b/parts/scenes/net_game.lua @@ -260,7 +260,7 @@ function scene.update(dt) local _ local GAME=GAME - if WS.status("play")~="running"and not SCN.swapping then SCN.back()end + if WS.status("play")~="running"then SCN.back()end if not playing then return end touchMoveLastFrame=false