修复游戏中途进入设置界面返回后的背景错误

This commit is contained in:
MrZ626
2020-12-07 19:23:57 +08:00
parent 6bb6fb64d8
commit 7bc3f83e7b

View File

@@ -110,9 +110,8 @@ function scene.sceneInit(org)
S.trophyColor=COLOR.lCyan
end
end
if GAME.bg then
BG.set(GAME.BG)
GAME.prevBG=nil
if org~="play"and GAME.prevBG then
BG.set(GAME.prevBG)
end
end
function scene.sceneBack()