wgl 7 месяцев назад
Родитель
Сommit
421f23856b

+ 1 - 1
ActionTowerDefense/Assets/GameLevelEditor/GameMap/CoreScripts/Editor/GameMapEditor.cs

@@ -717,7 +717,7 @@ public class GameMapEditor : EditorWindow
 					{
 						if (currLayer<tile.spawnTime.Count && tile.spawnTime[currLayer].curLayer == asset.maps[mapIdx].layers[currLayer].name)
 						{
-							tile.spawnTime.RemoveAt(mapIdx);
+							tile.spawnTime.RemoveAt(currLayer);
 						}
 
 					}