From cc11063aad793573ceedefb30052580c3d64ee37 Mon Sep 17 00:00:00 2001 From: Nitwel Date: Sun, 17 Mar 2024 18:12:21 +0100 Subject: [PATCH] warn user when room got deleted --- app/content/ui/menu/room/views/rooms.gd | 1 + 1 file changed, 1 insertion(+) diff --git a/app/content/ui/menu/room/views/rooms.gd b/app/content/ui/menu/room/views/rooms.gd index 1bbb571..772a044 100644 --- a/app/content/ui/menu/room/views/rooms.gd +++ b/app/content/ui/menu/room/views/rooms.gd @@ -72,6 +72,7 @@ func _ready(): edit_room=false if !House.body.is_valid_room(selected_room): + EventSystem.notify("Room was deleted as it had less than 3 corners.", EventNotify.Type.WARNING) House.body.delete_room(selected_room) selected_room=null else: