From 228cc777551ffa614fd6eec480563b251d57eb90 Mon Sep 17 00:00:00 2001 From: JappaWakka Date: Mon, 5 Jun 2023 13:50:41 +0200 Subject: [PATCH] Fix water not being reset between gamemodes --- P3D/Entites/Enviroment/Water.vb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/P3D/Entites/Enviroment/Water.vb b/P3D/Entites/Enviroment/Water.vb index ce6d54319..817e85e9a 100644 --- a/P3D/Entites/Enviroment/Water.vb +++ b/P3D/Entites/Enviroment/Water.vb @@ -197,7 +197,7 @@ Private Sub ChangeTexture() If Core.GameOptions.GraphicStyle = 1 Then - If WaterTexturesTemp.Count = 0 Then + If WaterTexturesTemp.Count = 0 OrElse Water.WaterTexturesTemp.ContainsKey("_0") = False Then ClearAnimationResources() CreateWaterTextureTemp() End If