Browse Source

Terrain : Prevent null acces after reload

ShiroSmith 6 years ago
parent
commit
b18d516aa2
1 changed files with 0 additions and 1 deletions
  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);
 			normal.waitLoad(wait);
 			pbr.waitLoad(wait);
 			pbr.waitLoad(wait);
 		}
 		}
-		tmpSurfacesProps = null;
 	}
 	}
 
 
 	public function initTerrain( ctx : Context, height = true, surface = true ) {
 	public function initTerrain( ctx : Context, height = true, surface = true ) {