Menu-FN: ensure g_iModInstallCache is set to -1 upon init to avoid Custom Game from being glitchy from a fresh install.
This commit is contained in:
parent
f0d77627ea
commit
855daac7e7
1 changed files with 2 additions and 1 deletions
|
@ -919,6 +919,7 @@ menu_customgame_init(void)
|
|||
customgame_sbMods.SetCallback(customgame_sbmods_changed);
|
||||
customgame_sbMods.SetMax(gameinfo_count);
|
||||
Widget_Add(fn_customgame, customgame_sbMods);
|
||||
g_iModInstallCache = -1;
|
||||
#endif
|
||||
}
|
||||
|
||||
|
@ -971,7 +972,7 @@ menu_customgame_draw(void)
|
|||
|
||||
|
||||
#if 1
|
||||
if (g_iModInstallCache >= 0) {
|
||||
if (g_iModInstallCache >= 0i) {
|
||||
customgame_installframe();
|
||||
}
|
||||
#endif
|
||||
|
|
Loading…
Reference in a new issue