remove invalid room
This commit is contained in:
parent
bcec4d8643
commit
f309d023f0
|
@ -273,4 +273,7 @@ func update_store():
|
||||||
store_room.corners = corners
|
store_room.corners = corners
|
||||||
store_room.height = room.room_ceiling.position.y
|
store_room.height = room.room_ceiling.position.y
|
||||||
|
|
||||||
|
if corners.size() > 3:
|
||||||
|
Store.house.rooms.erase(store_room)
|
||||||
|
|
||||||
Store.house.save_local()
|
Store.house.save_local()
|
||||||
|
|
Loading…
Reference in New Issue
Block a user