Make main game content use interface font instead of 8x8 font

If a custom level doesn't specify a font, it should be the 8x8 font.
But the main game can't specify a font, it's just the interface font
because that's for the language that the game is in.
This commit is contained in:
Dav999-v
2023-01-21 03:27:55 +01:00
committed by Misa Elizabeth Kai
parent 25feb9dbb5
commit b030ce568f
4 changed files with 51 additions and 24 deletions

View File

@@ -7186,7 +7186,7 @@ void Game::returntoeditor(void)
ed.roomnamehide = 0;
// Might've been changed in a script
font::set_custom_font(cl.level_font_name.c_str());
font::set_level_font(cl.level_font_name.c_str());
DEFER_CALLBACK(resetbg);
music.fadeout();