fix font output

This commit is contained in:
Max Bradbury 2020-04-18 13:37:26 +01:00
parent 27f5fd38bd
commit 96b956e0f2
1 changed files with 2 additions and 2 deletions

View File

@ -265,9 +265,9 @@ impl Game {
"".to_string() "".to_string()
} else { } else {
if self.font == Font::Custom { if self.font == Font::Custom {
format!("\n\nDEFAULT FONT {}", self.custom_font.as_ref().unwrap()) format!("\n\nDEFAULT_FONT {}", self.custom_font.as_ref().unwrap())
} else { } else {
format!("\n\nDEFAULT FONT {}", self.font.to_string().unwrap()) format!("\n\nDEFAULT_FONT {}", self.font.to_string().unwrap())
} }
} }
} }