warn user when room got deleted

This commit is contained in:
Nitwel 2024-03-17 18:12:21 +01:00
parent c262c0bd1b
commit cc11063aad

View File

@ -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: