mirror of
https://github.com/P3D-Legacy/P3D-Legacy.git
synced 2025-07-31 01:35:20 +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)
|
Return _songs(key)
|
||||||
End If
|
End If
|
||||||
Else
|
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
|
End If
|
||||||
Return Nothing
|
Return Nothing
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user