]> git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
Add collect delay for returning flags too
authorSamual <samual@xonotic.org>
Sun, 1 Apr 2012 21:05:08 +0000 (17:05 -0400)
committerSamual <samual@xonotic.org>
Sun, 1 Apr 2012 21:05:08 +0000 (17:05 -0400)
qcsrc/server/mutators/gamemode_ctf.qc

index e21640370a0098f0341fe698554126532102ca2b..dfee4bfefc49f72b3f8e22a4979ef2af75dd813d 100644 (file)
@@ -402,6 +402,7 @@ void ctf_Handle_Return(entity flag, entity player)
        }
        
        // reset the flag
+       flag.ctf_dropper.next_take_time = time + autocvar_g_ctf_flag_collect_delay;
        ctf_RespawnFlag(flag);
 }