Fixed freeze
This commit is contained in:
parent
c6caf0dbbb
commit
fb63697ebd
|
@ -212,8 +212,9 @@
|
|||
|
||||
Private Sub ChangeTexture()
|
||||
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()
|
||||
AddDefaultWaterAnimationResources()
|
||||
CreateWaterTextureTemp()
|
||||
End If
|
||||
|
||||
|
|
|
@ -132,8 +132,13 @@
|
|||
|
||||
Private Sub ChangeTexture()
|
||||
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()
|
||||
CreateWaterTextureTemp()
|
||||
End If
|
||||
|
||||
|
|
Loading…
Reference in New Issue