zturtleman/spearmint

Team Arena single player doesn't always restore overridden cvars

zturtleman opened this issue · 0 comments

If you start a Team Arena single player game some cvars are overridden but if you quit before reaching the post-game menu then the cvars are not restored.

See UI_StartSkirmish() in mint-arena|code/ui/ui_main.c for saving values and UI_CalcPostGameStats() in mint-arena|code/ui/ui_atoms.c for restoring values.

Affected cvars:

  • capturelimit
  • fraglimit
  • cg_drawTimer
  • g_doWarmup
  • g_warmup
  • sv_pure
  • g_friendlyFire
  • sv_maxclients

Reported by Tobias Kuehnhammer.