mirror of
https://github.com/P3D-Legacy/P3D-Legacy.git
synced 2025-04-08 18:35:09 +02:00
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…
x
Reference in New Issue
Block a user