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…
Reference in New Issue