全局变量MODEENV移入全局变量GAME中,重构虚拟按键显示情况代码
This commit is contained in:
@@ -34,7 +34,7 @@ function Tick.lose(P)
|
||||
return true
|
||||
end
|
||||
end
|
||||
if not MODEENV.royaleMode and #PLAYERS>1 then
|
||||
if not GAME.modeEnv.royaleMode and #PLAYERS>1 then
|
||||
P.y=P.y+P.endCounter*.26
|
||||
P.absFieldY=P.absFieldY+P.endCounter*.26
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user