Skip to content

Commit

Permalink
Merge pull request #116 from Nitwel/fix-110
Browse files Browse the repository at this point in the history
Warn user when room got deleted
  • Loading branch information
Nitwel authored Mar 17, 2024
2 parents c262c0b + cc11063 commit fb3f931
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions app/content/ui/menu/room/views/rooms.gd
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit fb3f931

Please sign in to comment.