diff --git a/engine/client/sbar.c b/engine/client/sbar.c index 56147f144..979f502b6 100644 --- a/engine/client/sbar.c +++ b/engine/client/sbar.c @@ -653,6 +653,11 @@ void Sbar_ShowTeamScores (void) if (sb_showteamscores) return; +#ifdef CSQC_DAT + if (CSQC_ConsoleCommand(Cmd_Argv(0))) + return; +#endif + sb_showteamscores = true; sb_updates = 0; } @@ -668,6 +673,11 @@ void Sbar_DontShowTeamScores (void) { sb_showteamscores = false; sb_updates = 0; + +#ifdef CSQC_DAT + if (CSQC_ConsoleCommand(Cmd_Argv(0))) + return; +#endif } /* @@ -682,6 +692,11 @@ void Sbar_ShowScores (void) if (sb_showscores) return; +#ifdef CSQC_DAT + if (CSQC_ConsoleCommand(Cmd_Argv(0))) + return; +#endif + sb_showscores = true; sb_updates = 0; } @@ -697,6 +712,11 @@ void Sbar_DontShowScores (void) { sb_showscores = false; sb_updates = 0; + +#ifdef CSQC_DAT + if (CSQC_ConsoleCommand(Cmd_Argv(0))) + return; +#endif } /*