mirror of
https://github.com/P3D-Legacy/P3D-Legacy.git
synced 2025-07-28 00:04:33 +02:00
More AnimatedBlock issues fixed
This commit is contained in:
parent
bc4e42d1f3
commit
fce1309183
@ -191,13 +191,15 @@
|
||||
End Sub
|
||||
|
||||
Private Sub ChangeTexture(ByVal n As Integer)
|
||||
If BlockTexturesTemp.Count = 0 Then
|
||||
ClearAnimationResources()
|
||||
CreateBlockTextureTemp()
|
||||
End If
|
||||
If Me.CurrentSeason <> P3D.World.CurrentSeason Then
|
||||
ClearAnimationResources()
|
||||
CreateBlockTextureTemp()
|
||||
If CurrentScreen.Identification = Screen.Identifications.OverworldScreen Then
|
||||
If BlockTexturesTemp.Count = 0 Then
|
||||
ClearAnimationResources()
|
||||
CreateBlockTextureTemp()
|
||||
End If
|
||||
If Me.CurrentSeason <> P3D.World.CurrentSeason AndAlso SeasonColorTexture <> "" Then
|
||||
ClearAnimationResources()
|
||||
CreateBlockTextureTemp()
|
||||
End If
|
||||
End If
|
||||
If Not Animations Is Nothing Then
|
||||
Dim i = Animations(n).CurrentRow
|
||||
|
@ -116,6 +116,7 @@
|
||||
Water.ClearAnimationResources()
|
||||
Whirlpool.LoadedWaterTemp = False
|
||||
Waterfall.ClearAnimationResources()
|
||||
AnimatedBlock.ClearAnimationResources()
|
||||
|
||||
Logger.Debug("---Cleared ContentPackManager---")
|
||||
End Sub
|
||||
|
@ -1533,6 +1533,7 @@ Public Class NewMainMenuScreen
|
||||
Waterfall.ClearAnimationResources()
|
||||
Water.AddDefaultWaterAnimationResources()
|
||||
Waterfall.AddDefaultWaterAnimationResources()
|
||||
AnimatedBlock.ClearAnimationResources()
|
||||
|
||||
World.IsMainMenu = False
|
||||
If _isGameJolt Then
|
||||
|
Loading…
x
Reference in New Issue
Block a user