room builders
This commit is contained in:
parent
2ceb20a822
commit
46e0c6ec6b
5 changed files with 108 additions and 20 deletions
|
|
@ -35,11 +35,7 @@ impl SimpleMapBuilder {
|
|||
}
|
||||
}
|
||||
if ok {
|
||||
apply_room_to_map(&mut build_data.map, &new_room);
|
||||
build_data.take_snapshot();
|
||||
|
||||
rooms.push(new_room);
|
||||
build_data.take_snapshot();
|
||||
}
|
||||
}
|
||||
build_data.rooms = Some(rooms);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue