diff --git a/content/ui/menu/room/room_menu.gd b/content/ui/menu/room/room_menu.gd index 0af5ed3..144b8f2 100644 --- a/content/ui/menu/room/room_menu.gd +++ b/content/ui/menu/room/room_menu.gd @@ -32,6 +32,10 @@ func _ready(): wall_corners.visible = false wall_edges.visible = false wall_mesh.mesh = generate_mesh() + + if wall_mesh.mesh == null: + return + var collisions = generate_collision(wall_mesh.mesh) for old_coll in wall_collisions.get_children():