optional version handling

This commit is contained in:
2020-04-23 12:03:39 +01:00
parent 6e7240e2d7
commit 096eb39bf6
2 changed files with 19 additions and 10 deletions

View File

@@ -403,7 +403,7 @@ pub fn room() -> Room {
pub fn game_default() -> Game {
Game {
name: "Write your game's title here".to_string(),
version: Version { major: 6, minor: 5 },
version: Some(Version { major: 6, minor: 5 }),
room_format: 1,
font: Font::AsciiSmall,
custom_font: None,