From cdc34b477f2d5dea49082f72e9b1931570fc79a1 Mon Sep 17 00:00:00 2001 From: Mario Date: Mon, 13 Jul 2020 19:36:51 +1000 Subject: [PATCH] Show the uid2name dialogue in CTF if rankings are enabled and the player hasn't decidedd on it yet --- qcsrc/client/hud/panel/vote.qc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/qcsrc/client/hud/panel/vote.qc b/qcsrc/client/hud/panel/vote.qc index 9783ff125..8b707f7bf 100644 --- a/qcsrc/client/hud/panel/vote.qc +++ b/qcsrc/client/hud/panel/vote.qc @@ -16,7 +16,7 @@ void HUD_Vote_Export(int fh) void HUD_Vote() { - if(autocvar_cl_allow_uid2name == -1 && (ISGAMETYPE(CTS) || ISGAMETYPE(RACE) || (serverflags & SERVERFLAG_PLAYERSTATS))) + if(autocvar_cl_allow_uid2name == -1 && (MUTATOR_CALLHOOK(ShowRankings) || (serverflags & SERVERFLAG_PLAYERSTATS))) { // this dialog gets overriden by the uid2name menu dialog, if it exists // TODO remove this client side uid2name dialog in the next release -- 2.39.2