From: Mario Date: Mon, 22 Apr 2013 16:14:18 +0000 (+1000) Subject: Fix frozen players picking up the flag X-Git-Tag: xonotic-v0.8.0~241^2^2~307 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=74ca01b83aec351482b52d9b16aad385b1ff9b4e;p=xonotic%2Fxonotic-data.pk3dir.git Fix frozen players picking up the flag --- diff --git a/qcsrc/server/mutators/gamemode_ctf.qc b/qcsrc/server/mutators/gamemode_ctf.qc index f578c5f73..1efc97192 100644 --- a/qcsrc/server/mutators/gamemode_ctf.qc +++ b/qcsrc/server/mutators/gamemode_ctf.qc @@ -814,6 +814,8 @@ void ctf_FlagTouch() entity toucher = other; + if(toucher.frozen) { return; } + // automatically kill the flag and return it if it touched lava/slime/nodrop surfaces if(ITEM_TOUCH_NEEDKILL()) {