try to handle old "SET" rooms

This commit is contained in:
2020-04-18 15:33:04 +01:00
parent fe3fac5e2b
commit 596be936d9
2 changed files with 4 additions and 3 deletions

View File

@@ -118,7 +118,7 @@ impl From<String> for Game {
text_direction = TextDirection::RightToLeft;
} else if segment.starts_with("PAL") {
palettes.push(Palette::from(segment));
} else if segment.starts_with("ROOM") {
} else if segment.starts_with("ROOM") || segment.starts_with("SET") {
rooms.push(Room::from(segment));
} else if segment.starts_with("TIL") {
tiles.push(Tile::from(segment));