Optimize the music stopping before battle music
This commit is contained in:
parent
a13b0c50ae
commit
c7c5155c80
|
@ -547,7 +547,8 @@
|
|||
Player.Temp.BeforeBattleFacing = Screen.Camera.GetPlayerFacingDirection()
|
||||
Dim b As BattleSystem.BattleScreen = CType(Me.NewScreen, BattleSystem.BattleScreen)
|
||||
|
||||
MusicManager.ClearCurrentlyPlaying()
|
||||
MusicManager.Playlist.Clear()
|
||||
MusicManager.outputDevice.Stop()
|
||||
If BattleSystem.BattleScreen.CustomBattleMusic = "" OrElse MusicManager.SongExists(BattleSystem.BattleScreen.CustomBattleMusic) = False Then
|
||||
If b.IsPVPBattle = True Then
|
||||
MusicManager.Play(MusicLoop, False, 0.0F, True, "pvp")
|
||||
|
|
Loading…
Reference in New Issue