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

View File

@ -1057,7 +1057,11 @@ Public Class Level
If Me.Riding = True Then If Me.Riding = True Then
MusicManager.Play("ride", True) MusicManager.Play("ride", True)
Else 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 End If
End If End If