优化GAME.prevBG的使用,同时应用于联网游戏场景,修复从设置返回后背景变化问题
This commit is contained in:
@@ -113,8 +113,9 @@ function scene.sceneInit(org)
|
||||
else
|
||||
rank,trophy=nil
|
||||
end
|
||||
if org~="game"and GAME.prevBG then
|
||||
if GAME.prevBG then
|
||||
BG.set(GAME.prevBG)
|
||||
GAME.prevBG=false
|
||||
end
|
||||
end
|
||||
function scene.sceneBack()
|
||||
|
||||
Reference in New Issue
Block a user