From: Mario Date: Mon, 13 Jul 2020 09:36:51 +0000 (+1000) Subject: Show the uid2name dialogue in CTF if rankings are enabled and the player hasn't decid... X-Git-Tag: xonotic-v0.8.5~855^2~8 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=cdc34b477f2d5dea49082f72e9b1931570fc79a1;p=xonotic%2Fxonotic-data.pk3dir.git Show the uid2name dialogue in CTF if rankings are enabled and the player hasn't decidedd on it yet --- 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