Correct vb name

This commit is contained in:
JappaWakka 2023-07-22 12:32:22 +02:00
parent bf2a8aebc6
commit 5e4f5d830c

View File

@ -38,7 +38,7 @@ Public Class TextureManager
End Try End Try
End Using End Using
Else 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 Return DefaultTexture
End If End If
Else Else
@ -104,7 +104,7 @@ Public Class TextureManager
End Try End Try
End Using End Using
Else 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 Return DefaultTexture
End If End If
Else Else
@ -156,7 +156,7 @@ Public Class TextureManager
Dim tRectangle As New Rectangle(0, 0, Texture.Width, Texture.Height) Dim tRectangle As New Rectangle(0, 0, Texture.Width, Texture.Height)
If tRectangle.Contains(Rectangle) = False Then 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 Return DefaultTexture
End If End If