From 2f07dbe75192ddcba6981bb2509f6f55e7d1accd Mon Sep 17 00:00:00 2001 From: bones_was_here Date: Tue, 24 Jan 2023 10:11:55 +1000 Subject: [PATCH] Remove the Xonotic +showscores kludge Fixes https://github.com/DarkPlacesEngine/darkplaces/issues/64 See also: https://gitlab.com/xonotic/xonotic-data.pk3dir/-/merge_requests/1128 and 3912e78a6047f2c45b3ff4967df7a68ad4e1b994 Signed-off-by: bones_was_here --- sbar.c | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/sbar.c b/sbar.c index be139633..687c9499 100644 --- a/sbar.c +++ b/sbar.c @@ -359,11 +359,8 @@ static void sbar_newmap(void) void Sbar_Init (void) { - if(gamemode == GAME_NORMAL) // Workaround so Quake doesn't trample on Xonotic. - { - Cmd_AddCommand(CF_CLIENT, "+showscores", Sbar_ShowScores_f, "show scoreboard"); - Cmd_AddCommand(CF_CLIENT, "-showscores", Sbar_DontShowScores_f, "hide scoreboard"); - } + Cmd_AddCommand(CF_CLIENT, "+showscores", Sbar_ShowScores_f, "show scoreboard"); + Cmd_AddCommand(CF_CLIENT, "-showscores", Sbar_DontShowScores_f, "hide scoreboard"); Cvar_RegisterVariable(&cl_showfps); Cvar_RegisterVariable(&cl_showsound); Cvar_RegisterVariable(&cl_showblur); -- 2.39.2