不再频繁切回主菜单BGM

This commit is contained in:
MrZ626
2020-10-15 21:38:26 +08:00
parent 868152c6c8
commit 07d6fa84dd

View File

@@ -1028,7 +1028,6 @@ end
do--main do--main
function sceneInit.main() function sceneInit.main()
BG.set("space") BG.set("space")
BGM.play("blank")
modeEnv={} modeEnv={}
--Create demo player --Create demo player
@@ -1074,7 +1073,6 @@ do--mode
local touchDist=nil local touchDist=nil
function sceneInit.mode(org) function sceneInit.mode(org)
BG.set("space") BG.set("space")
BGM.play("blank")
destroyPlayers() destroyPlayers()
local cam=mapCam local cam=mapCam
cam.zoomK=org=="main"and 5 or 1 cam.zoomK=org=="main"and 5 or 1