修复退出联网游戏界面时会因为太早销毁玩家导致场景切换之前仍需要绘制的时候报错 close #228

This commit is contained in:
MrZ626
2021-08-24 17:56:10 +08:00
parent 6b8ac5e939
commit 8520ca44ee
2 changed files with 0 additions and 4 deletions

View File

@@ -151,9 +151,6 @@ function scene.sceneInit(org)
updateRepButtons()
updateMenuButtons()
end
function scene.sceneBack()
destroyPlayers()
end
scene.mouseDown=NULL
function scene.touchDown(x,y)

View File

@@ -79,7 +79,6 @@ function scene.sceneInit(org)
end
end
function scene.sceneBack()
destroyPlayers()
GAME.playing=false
end