Skip to content

Commit 9161e09

Browse files
committed
Update Functions.cs
1 parent 92d1d7a commit 9161e09

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Assets/MapEditor/Editor/API/Functions.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -220,9 +220,9 @@ public static void PrefabTools(ref bool deleteOnExport, string lootCrateSaveFile
220220

221221
Elements.BeginToolbarHorizontal();
222222
if (Elements.ToolbarButton(ToolTips.deleteMapPrefabs))
223-
MapManager.RemoveMapObjects(true, false);
223+
PrefabManager.DeletePrefabs(PrefabManager.CurrentMapPrefabs);
224224
if (Elements.ToolbarButton(ToolTips.deleteMapPaths))
225-
MapManager.RemoveMapObjects(false, true);
225+
PathManager.DeletePaths(PathManager.CurrentMapPaths);
226226
Elements.EndToolbarHorizontal();
227227
}
228228
public static void AssetBundle()

0 commit comments

Comments
 (0)