Possible fix for mapscreen crash

This commit is contained in:
JappaWakka 2022-06-03 22:02:44 +02:00
parent a7b834d72b
commit d9426e43d2
1 changed files with 2 additions and 1 deletions

View File

@ -42,7 +42,8 @@
Me.drawObjects = Player.Temp.MapSwitch
If Core.Player.IsGameJoltSave And GameJolt.API.LoggedIn Then
PlayerSkinTexture = GameJolt.Emblem.GetOnlineSprite(Core.GameJoltSave.GameJoltID)
Dim ownE As New GameJolt.Emblem(Core.Player.Name, Core.GameJoltSave.GameJoltID, Core.GameJoltSave.Points, Core.GameJoltSave.Gender, Core.GameJoltSave.Emblem)
PlayerSkinTexture = ownE.SpriteTexture
Else
If Screen.Level.Surfing = True Then
PlayerSkinTexture = TextureManager.GetTexture("Textures\NPC\" & Core.Player.TempSurfSkin)