diff options
| author | Christopher Leggett <chris@leggett.dev> | 2025-03-31 15:28:48 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-03-31 21:28:48 +0200 |
| commit | 05219cbbf78bfbe77ccb4128de49f6beec858c38 (patch) | |
| tree | bc1c51678ac5b2eaca4bbb3ce829cc5c048fbfa0 /soh/src/code | |
| parent | eb17f2e99d67d72ad51e59c2dffc292363aa80e5 (diff) | |
Prevent GameplayStats and TimeDisplay from getting reset on ship json drag and drop (#5269)
Diffstat (limited to 'soh/src/code')
| -rw-r--r-- | soh/src/code/z_parameter.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/soh/src/code/z_parameter.c b/soh/src/code/z_parameter.c index a221e570f..5060a0ab9 100644 --- a/soh/src/code/z_parameter.c +++ b/soh/src/code/z_parameter.c @@ -6123,7 +6123,7 @@ void Interface_DrawTotalGameplayTimer(PlayState* play) { // Draw timer based on the Gameplay Stats total time. if ((IS_BOSS_RUSH && gSaveContext.ship.quest.data.bossRush.options[BR_OPTIONS_TIMER] == BR_CHOICE_TIMER_YES) || - (CVarGetInteger(CVAR_ENHANCEMENT("GameplayStats.ShowIngameTimer"), 0) && gSaveContext.fileNum >= 0 && gSaveContext.fileNum <= 2)) { + (CVarGetInteger(CVAR_GAMEPLAY_STATS("ShowIngameTimer"), 0) && gSaveContext.fileNum >= 0 && gSaveContext.fileNum <= 2)) { s32 X_Margins_Timer = 0; if (CVarGetInteger(CVAR_COSMETIC("HUD.IGT.UseMargins"), 0) != 0) { |
