diff --git a/DungeonShooting_Godot/src/game/ui/mapEditorProject/MapEditorProjectPanel.cs b/DungeonShooting_Godot/src/game/ui/mapEditorProject/MapEditorProjectPanel.cs index 8edcc66..97dab7b 100644 --- a/DungeonShooting_Godot/src/game/ui/mapEditorProject/MapEditorProjectPanel.cs +++ b/DungeonShooting_Godot/src/game/ui/mapEditorProject/MapEditorProjectPanel.cs @@ -276,7 +276,10 @@ //删除地牢组 private void DeleteGroup(bool v) { - MapProjectManager.DeleteGroup(GroupGrid.SelectData.GroupName); + if (v) + { + MapProjectManager.DeleteGroup(GroupGrid.SelectData.GroupName); + } } //创建房间