From: Mario Date: Thu, 24 Dec 2015 01:05:15 +0000 (+1000) Subject: Loopify instagib X-Git-Tag: xonotic-v0.8.2~1425 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=ddb77505844f896a3985cdd9582e467ffe3eb591;p=xonotic%2Fxonotic-data.pk3dir.git Loopify instagib --- diff --git a/qcsrc/common/mutators/mutator/instagib/instagib.qc b/qcsrc/common/mutators/mutator/instagib/instagib.qc index 6f3581714..bc6ca5be3 100644 --- a/qcsrc/common/mutators/mutator/instagib/instagib.qc +++ b/qcsrc/common/mutators/mutator/instagib/instagib.qc @@ -139,10 +139,7 @@ void instagib_ammocheck() MUTATOR_HOOKFUNCTION(mutator_instagib, MatchEnd) { - entity head; - FOR_EACH_PLAYER(head) - instagib_stop_countdown(head); - + FOREACH_CLIENT(IS_PLAYER(it), LAMBDA(instagib_stop_countdown(it))); return false; }