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