mirror of
https://github.com/P3D-Legacy/P3D-Legacy.git
synced 2025-07-30 17:25:22 +02:00
Made missing intro song only log on debug
This commit is contained in:
parent
dc454d2a68
commit
450b060271
@ -554,7 +554,11 @@ Public Class MusicManager
|
||||
Return _songs(key)
|
||||
End If
|
||||
Else
|
||||
Logger.Log(Logger.LogTypes.Warning, "MusicManager.vb: Cannot find music file """ & songName & """. Return nothing.")
|
||||
If GameController.IS_DEBUG_ACTIVE = True Then
|
||||
Logger.Debug("MusicManager.vb: Cannot find music file """ & songName & """. Return nothing.")
|
||||
ElseIf songName.Contains("intro\") = False Then
|
||||
Logger.Log(Logger.LogTypes.Warning, "MusicManager.vb: Cannot find music file """ & songName & """. Return nothing.")
|
||||
End If
|
||||
End If
|
||||
Return Nothing
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user