Explorar o código

Terrain : Prevent null acces after reload

ShiroSmith %!s(int64=6) %!d(string=hai) anos
pai
achega
b18d516aa2
Modificáronse 1 ficheiros con 0 adicións e 1 borrados
  1. 0 1
      hrt/prefab/terrain/Terrain.hx

+ 0 - 1
hrt/prefab/terrain/Terrain.hx

@@ -226,7 +226,6 @@ class Terrain extends Object3D {
 			normal.waitLoad(wait);
 			pbr.waitLoad(wait);
 		}
-		tmpSurfacesProps = null;
 	}
 
 	public function initTerrain( ctx : Context, height = true, surface = true ) {