]> git.rm.cloudns.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
fix votes crashing clients
authorFruitieX <rasse@rasse-laptop.(none)>
Tue, 26 Oct 2010 20:20:47 +0000 (23:20 +0300)
committerFruitieX <rasse@rasse-laptop.(none)>
Tue, 26 Oct 2010 20:20:47 +0000 (23:20 +0300)
qcsrc/client/hud.qc

index ebdaa49d5c65b3bfba74a4243b9a4e07fce33fbd..50ebcfe28f11a45154f69c874666c5459c9898f9 100644 (file)
@@ -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)