Menu-FN: when 'rate' is ridiculously low, set it to the engine default (30000)

This commit is contained in:
Marco Cawthorne 2024-03-23 13:40:17 -07:00
parent 4b35d47522
commit a9ededfd1a
Signed by: eukara
GPG Key ID: CE2032F0A2882A22
1 changed files with 5 additions and 0 deletions

View File

@ -120,6 +120,11 @@ m_init(void)
cvar_set("r_imageextensions", "tga bmp pcx png jpg");
cvar_set("cl_cursor_scale", "1");
/* the HL configs make the rate this low by default. */
if (cvar("rate") <= 2500) {
cvar_set("rate", "30000");
}
registercommand("menu_updates");
registercommand("menu_customgame");
registercommand("map_background");