From: Lyberta Date: Sun, 30 Jul 2017 08:37:24 +0000 (+0300) Subject: CS bugfix. X-Git-Tag: xonotic-v0.8.5~2482^2~16 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=82d3649a202ab317ca624c1b0c02727dcf3a5f1a;p=xonotic%2Fxonotic-data.pk3dir.git CS bugfix. --- diff --git a/qcsrc/server/command/cmd.qc b/qcsrc/server/command/cmd.qc index 1d5ab7b39..6c5e3829f 100644 --- a/qcsrc/server/command/cmd.qc +++ b/qcsrc/server/command/cmd.qc @@ -380,7 +380,7 @@ void ClientCommand_selectteam(entity caller, float request, float argc) sprint(caller, "^7You already are on that team.\n"); return; } - if (caller.wasplayer && autocvar_g_changeteam_banned) + if (CS(caller).wasplayer && autocvar_g_changeteam_banned) { sprint(caller, "^1You cannot change team, forbidden by the server.\n"); return;