从自定义菜单回到主菜单时BGM恢复

This commit is contained in:
MrZ626
2020-11-05 19:01:21 +08:00
parent 66872d3edf
commit f0cb6deb09
2 changed files with 3 additions and 1 deletions

View File

@@ -23,6 +23,9 @@ function sceneInit.customGame()
end
end
end
function sceneBack.customGame()
BGM.play("blank")
end
function keyDown.customGame(key)
if key=="return"or key=="return2"then

View File

@@ -4,7 +4,6 @@ function sceneInit.main()
sceneTemp={
tip=text.getTip(),
}
BGM.play("blank")
BG.set("space")
modeEnv=NONE