Fixed freeze
This commit is contained in:
parent
c6caf0dbbb
commit
fb63697ebd
|
@ -212,8 +212,9 @@
|
||||||
|
|
||||||
Private Sub ChangeTexture()
|
Private Sub ChangeTexture()
|
||||||
If Core.GameOptions.GraphicStyle = 1 Then
|
If Core.GameOptions.GraphicStyle = 1 Then
|
||||||
If WaterTexturesTemp.Count = 0 OrElse Water.WaterTexturesTemp.ContainsKey("_0") = False Then
|
If WaterTexturesTemp.Count = 0 OrElse Water.WaterTexturesTemp.ContainsKey("_0") = False OrElse Water.WaterTexturesTemp.ContainsKey(AdditionalValue & "_0") = False Then
|
||||||
ClearAnimationResources()
|
ClearAnimationResources()
|
||||||
|
AddDefaultWaterAnimationResources()
|
||||||
CreateWaterTextureTemp()
|
CreateWaterTextureTemp()
|
||||||
End If
|
End If
|
||||||
|
|
||||||
|
|
|
@ -132,7 +132,12 @@
|
||||||
|
|
||||||
Private Sub ChangeTexture()
|
Private Sub ChangeTexture()
|
||||||
If Core.GameOptions.GraphicStyle = 1 Then
|
If Core.GameOptions.GraphicStyle = 1 Then
|
||||||
If WaterfallTexturesTemp.Count = 0 Or WaterTexturesTemp.Count = 0 Then
|
If WaterfallTexturesTemp.Count = 0 Or WaterTexturesTemp.Count = 0 OrElse Waterfall.WaterTexturesTemp.ContainsKey("_0") = False OrElse Waterfall.WaterTexturesTemp.ContainsKey(AdditionalValue & "_0") = False Then
|
||||||
|
|
||||||
|
ClearAnimationResources()
|
||||||
|
AddDefaultWaterAnimationResources()
|
||||||
|
CreateWaterTextureTemp()
|
||||||
|
End If
|
||||||
ClearAnimationResources()
|
ClearAnimationResources()
|
||||||
CreateWaterTextureTemp()
|
CreateWaterTextureTemp()
|
||||||
End If
|
End If
|
||||||
|
|
Loading…
Reference in New Issue