diff --git a/src/game.rs b/src/game.rs index e66b1fb..8126cf1 100644 --- a/src/game.rs +++ b/src/game.rs @@ -163,7 +163,9 @@ impl Game { } } else if segment.starts_with("! ROOM_FORMAT") { let segment = segment.replace("! ROOM_FORMAT ", ""); - room_format = Some(RoomFormat::from(&segment).unwrap()); + room_format = Some( + RoomFormat::from(&segment).unwrap_or(RoomFormat::CommaSeparated) + ); } else if segment.starts_with("DEFAULT_FONT") { let segment = segment.replace("DEFAULT_FONT ", "");