diff --git a/app/content/ui/menu/edit/edit_menu.gd b/app/content/ui/menu/edit/edit_menu.gd index fa5feb2..a4db3d2 100644 --- a/app/content/ui/menu/edit/edit_menu.gd +++ b/app/content/ui/menu/edit/edit_menu.gd @@ -21,7 +21,7 @@ func _ready(): var entity=House.body.create_entity(entity_name, global_position) - if entity == false: + if typeof(entity) == TYPE_BOOL&&entity == false: EventSystem.notify("Entity is not in Room", EventNotify.Type.INFO) if entity == null: