]> git.rm.cloudns.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
Fix frozen players picking up the flag
authorMario <mario.mario@y7mail.com>
Mon, 22 Apr 2013 16:14:18 +0000 (02:14 +1000)
committerMario <mario.mario@y7mail.com>
Mon, 22 Apr 2013 16:14:18 +0000 (02:14 +1000)
qcsrc/server/mutators/gamemode_ctf.qc

index f578c5f73d274d07b7ce90dcd25cc9ae90d5d1fd..1efc97192fea6a81b8b558fbb0dd6969f483848d 100644 (file)
@@ -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())
        {