mirror of
https://github.com/P3D-Legacy/P3D-Legacy.git
synced 2025-07-28 08:14:29 +02:00
Fix @Music.Stop not working
This commit is contained in:
parent
32be5bbb67
commit
344b65fe7e
@ -332,9 +332,7 @@ Public Class MusicManager
|
||||
End Sub
|
||||
|
||||
Public Shared Sub [Stop]()
|
||||
Playlist.Clear()
|
||||
MusicManager.Play("Silence", False, 0.0F)
|
||||
_isIntroStarted = False
|
||||
ClearCurrentlyPlaying()
|
||||
End Sub
|
||||
|
||||
Public Shared Sub ResumePlayback()
|
||||
@ -423,7 +421,7 @@ Public Class MusicManager
|
||||
Dim songName = GetSongName(song)
|
||||
Dim AfterBattleIntroSongName As String = GetSongName(AfterBattleIntroSong)
|
||||
|
||||
If currentSong = "Silence" OrElse currentSong <> songName Then
|
||||
If currentSong = "silence" OrElse currentSong <> songName Then
|
||||
If AfterBattleIntroSongName <> "" Then
|
||||
Dim battleIntroSong = GetSong(songName)
|
||||
Dim regularIntroSong = GetSong("intro\" + AfterBattleIntroSongName)
|
||||
|
Loading…
x
Reference in New Issue
Block a user