From 9f8cb67caf0114ace48e9d5a9dfc24085b09eef4 Mon Sep 17 00:00:00 2001 From: terencehill Date: Tue, 11 Dec 2018 23:48:38 +0100 Subject: [PATCH] Fix #2175 "Gametype voting screen broken at connect" --- qcsrc/client/mapvoting.qc | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) 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(); -- 2.39.2