修复退出联网游戏界面时会因为太早销毁玩家导致场景切换之前仍需要绘制的时候报错 close #228
This commit is contained in:
@@ -151,9 +151,6 @@ function scene.sceneInit(org)
|
||||
updateRepButtons()
|
||||
updateMenuButtons()
|
||||
end
|
||||
function scene.sceneBack()
|
||||
destroyPlayers()
|
||||
end
|
||||
|
||||
scene.mouseDown=NULL
|
||||
function scene.touchDown(x,y)
|
||||
|
||||
@@ -79,7 +79,6 @@ function scene.sceneInit(org)
|
||||
end
|
||||
end
|
||||
function scene.sceneBack()
|
||||
destroyPlayers()
|
||||
GAME.playing=false
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user