Correct vb name

This commit is contained in:
JappaWakka 2023-07-22 12:32:22 +02:00
parent bf2a8aebc6
commit 5e4f5d830c
1 changed files with 3 additions and 3 deletions

View File

@ -38,7 +38,7 @@ Public Class TextureManager
End Try
End Using
Else
Logger.Log(Logger.LogTypes.ErrorMessage, "Textures.vb: Texture """ & GameController.GamePath & "\" & cContent.RootDirectory & "\" & Name & """ was not found!")
Logger.Log(Logger.LogTypes.ErrorMessage, "TextureManager.vb: Texture """ & GameController.GamePath & "\" & cContent.RootDirectory & "\" & Name & """ was not found!")
Return DefaultTexture
End If
Else
@ -104,7 +104,7 @@ Public Class TextureManager
End Try
End Using
Else
Logger.Log(Logger.LogTypes.ErrorMessage, "Textures.vb: Texture """ & GameController.GamePath & "\" & cContent.RootDirectory & "\" & Name & """ was not found!")
Logger.Log(Logger.LogTypes.ErrorMessage, "TextureManager.vb: Texture """ & GameController.GamePath & "\" & cContent.RootDirectory & "\" & Name & """ was not found!")
Return DefaultTexture
End If
Else
@ -156,7 +156,7 @@ Public Class TextureManager
Dim tRectangle As New Rectangle(0, 0, Texture.Width, Texture.Height)
If tRectangle.Contains(Rectangle) = False Then
Logger.Log(Logger.LogTypes.ErrorMessage, "Textures.vb: The rectangle for a texture was out of bounds!")
Logger.Log(Logger.LogTypes.ErrorMessage, "TextureManager.vb: The rectangle for a texture was out of bounds!")
Return DefaultTexture
End If