From: terencehill Date: Sun, 3 Jul 2016 17:08:12 +0000 (+0200) Subject: Reopen the uid2name menu dialog if it gets closed in other ways: 1) menu restart... X-Git-Tag: xonotic-v0.8.2~700^2~105^2 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=d00246a55e1f819b2beafc5c33194a470d18d31f;p=xonotic%2Fxonotic-data.pk3dir.git Reopen the uid2name menu dialog if it gets closed in other ways: 1) menu restart 2) opening the team selection dialog with F5 and then closing it --- diff --git a/qcsrc/client/hud/panel/vote.qc b/qcsrc/client/hud/panel/vote.qc index f85d304c5..d7d4d252b 100644 --- a/qcsrc/client/hud/panel/vote.qc +++ b/qcsrc/client/hud/panel/vote.qc @@ -9,10 +9,12 @@ void HUD_Vote() { // this dialog gets overriden by the uid2name menu dialog, if it exists // TODO remove this client side uid2name dialog in the next release - if (!uid2name_dialog) - localcmd("menu_cmd directmenu Uid2Name\n"); if(autocvar__menu_alpha) hud_fade_alpha = 0; + else + uid2name_dialog = 0; + if (!uid2name_dialog) + localcmd("menu_cmd directmenu Uid2Name\n"); vote_active = 1; if (autocvar__hud_configure)