Added failsave to fix missing Level music crash

This commit is contained in:
JappaWakka 2023-01-13 14:13:44 +01:00
parent 450b060271
commit f2e093072e
1 changed files with 5 additions and 1 deletions

View File

@ -1057,7 +1057,11 @@ Public Class Level
If Me.Riding = True Then
MusicManager.Play("ride", True)
Else
MusicManager.Play(MusicLoop, True)
If MusicManager.GetSong(MusicLoop) IsNot Nothing Then
MusicManager.Play(MusicLoop, True)
Else
MusicManager.Play("silence")
End If
End If
End If
End If