Explorar o código

Fix terrain rendermode

ShiroSmith %!s(int64=7) %!d(string=hai) anos
pai
achega
fa7c7bea86
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      hide/prefab/terrain/TerrainEditor.hx

+ 1 - 1
hide/prefab/terrain/TerrainEditor.hx

@@ -94,7 +94,7 @@ class TerrainEditor {
 		|| propName == "editor.currentSurface.angle")
 			terrainPrefab.terrain.updateSurfaceParams();
 		autoCreateTile = terrainPrefab.autoCreateTile;
-		if(propName == "terrain.renderMode") updateRender();
+		if(propName == "editor.renderMode") updateRender();
 	}
 
 	public function refresh(){