From: FruitieX Date: Tue, 26 Oct 2010 20:20:47 +0000 (+0300) Subject: fix votes crashing clients X-Git-Tag: xonotic-v0.1.0preview~202^2~6 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=de52d6184ff03e4643e8d6ddee96039be311131a;p=xonotic%2Fxonotic-data.pk3dir.git fix votes crashing clients --- diff --git a/qcsrc/client/hud.qc b/qcsrc/client/hud.qc index ebdaa49d5..50ebcfe28 100644 --- a/qcsrc/client/hud.qc +++ b/qcsrc/client/hud.qc @@ -3780,7 +3780,7 @@ void HUD_VoteWindow(void) if(autocvar_cl_allow_uid2name == -1 && (gametype == GAME_CTS || gametype == GAME_RACE)) { vote_active = 1; - vote_called_vote = "^2Name ^7instead of \"^1Unregistered player\" ^7in stats"; + vote_called_vote = strzone(strcat("^2Name ^7instead of \"^1Unregistered player\"", " ^7in stats")); } if(!autocvar_hud_panel_vote && !autocvar__hud_configure)