From: terencehill Date: Tue, 11 Dec 2018 22:48:38 +0000 (+0100) Subject: Fix #2175 "Gametype voting screen broken at connect" X-Git-Tag: xonotic-v0.8.5~1696 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=9f8cb67caf0114ace48e9d5a9dfc24085b09eef4;p=xonotic%2Fxonotic-data.pk3dir.git Fix #2175 "Gametype voting screen broken at connect" --- diff --git a/qcsrc/client/mapvoting.qc b/qcsrc/client/mapvoting.qc index 37cb59e08..5de11a3b8 100644 --- a/qcsrc/client/mapvoting.qc +++ b/qcsrc/client/mapvoting.qc @@ -359,6 +359,11 @@ void MapVote_Draw() ymax -= chat_sizey; hud_fontsize = HUD_GetFontsize("hud_fontsize"); + if (gametypevote) + { + gtv_text_size = hud_fontsize * 1.4; + gtv_text_size_small = hud_fontsize * 1.1; + } pos.y = ymin; pos.z = 0; @@ -680,9 +685,6 @@ void MapVote_Init() mapvote_chosenmap = strzone(ReadString()); if ( gametypevote == 2 ) gametypevote = 0; - - gtv_text_size = hud_fontsize*1.4; - gtv_text_size_small = hud_fontsize*1.1; } MapVote_ReadMask();