Menu-FN: Small fix to avoid an infinite loop of menu_restarts in case
the cvars don't get set fast enough, somehow
This commit is contained in:
parent
dfbb153946
commit
cc240fefb2
1 changed files with 1 additions and 1 deletions
|
@ -221,7 +221,7 @@ m_draw(vector screensize)
|
|||
* our menu. I'm so, so sorry. No, RendererRestarted doesn't see fs_game
|
||||
* fast enough either. */
|
||||
if (cvar_string("fs_game") != games[gameinfo_current].gamedir) {
|
||||
localcmd("menu_restart\n");
|
||||
localcmd(sprintf("gameinfo_gamedir %s\nmenu_restart\n", cvar_string("fs_game")));
|
||||
}
|
||||
|
||||
oldtime = time;
|
||||
|
|
Loading…
Reference in a new issue