forked from fte/fteqw
1
0
Fork 0

Add check to only use the re-release menu font when a mod is not actively overriding it

This commit is contained in:
Marco Cawthorne 2023-06-24 15:03:28 -07:00
parent aa8fcb0296
commit e20ee6c854
Signed by: eukara
GPG Key ID: CE2032F0A2882A22
1 changed files with 1 additions and 1 deletions

View File

@ -1236,7 +1236,7 @@ void R2D_Font_Changed(void)
#endif #endif
} }
if (COM_FCheckExists("fonts/qfont.kfont")) if (COM_FDepthFile("fonts/qfont.kfont", true) <= COM_FDepthFile("gfx/mainmenu.lmp", true))
font_menu = Font_LoadFont("qfont", 20, 1, r_font_postprocess_outline.ival, flags); font_menu = Font_LoadFont("qfont", 20, 1, r_font_postprocess_outline.ival, flags);
else else
font_menu = NULL; font_menu = NULL;