handle room formats

This commit is contained in:
2020-04-24 18:07:32 +01:00
parent 1c6e3eb515
commit ebb172df7e
3 changed files with 17 additions and 8 deletions

View File

@@ -242,7 +242,7 @@ impl ToString for Game {
}
for room in &self.rooms {
segments.push(room.to_string());
segments.push(room.to_string(self.room_format(), self.room_type));
}
for tile in &self.tiles {