summary refs log tree commit diff stats
path: root/res/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'res/scripts')
-rw-r--r--res/scripts/common.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/res/scripts/common.lua b/res/scripts/common.lua index a5e7873..23b881a 100644 --- a/res/scripts/common.lua +++ b/res/scripts/common.lua
@@ -264,7 +264,7 @@ function ChangeMap(map, warp, options)
264 264
265 if (mixer():isPlayingMusic() and not getMap():hasMusic()) then 265 if (mixer():isPlayingMusic() and not getMap():hasMusic()) then
266 mixer():fadeoutMusic(150) 266 mixer():fadeoutMusic(150)
267 elseif (getMap():hasMusic() and (not mixer():isPlayingMusic() or not mixer():getPlayingTrack() == getMap():getMusic())) then 267 elseif (getMap():hasMusic() and (not mixer():isPlayingMusic() or not (mixer():getPlayingTrack() == getMap():getMusic()))) then
268 mixer():playMusic(getMap():getMusic(), 150) 268 mixer():playMusic(getMap():getMusic(), 150)
269 end 269 end
270 270