ncannasse 6 years ago
parent
commit
787cfc9188
1 changed files with 1 additions and 1 deletions
  1. 1 1
      hide/prefab/terrain/Brush.hx

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

@@ -78,7 +78,7 @@ class BrushPreview {
 
 	public function dispose(){
 		for(tile in tiles)
-			tile.dispose();
+			tile.remove();
 	}
 
 	public function addPreviewMeshAt(x : Int, y : Int, brush : Brush, brushPos : h3d.Vector, ctx : Context) : TilePreviewMesh {