From: Samual Date: Fri, 18 Mar 2011 22:07:03 +0000 (-0400) Subject: Whoops this should be AFTER the return, or else you get multiple passes... weirdly. X-Git-Tag: xonotic-v0.5.0~305^2~17^2~8^2~6 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=f63e0c6456fdee3500d02a5ca62c910c46a9f932;p=xonotic%2Fxonotic-data.pk3dir.git Whoops this should be AFTER the return, or else you get multiple passes... weirdly. --- diff --git a/qcsrc/server/w_seeker.qc b/qcsrc/server/w_seeker.qc index 8fdc57d2b..a5d8a61a2 100644 --- a/qcsrc/server/w_seeker.qc +++ b/qcsrc/server/w_seeker.qc @@ -236,9 +236,6 @@ void Seeker_Attack() void Seeker_Tracker_Think() // this think method keeps track of the tag entity created to follow/tag down a player. { - // Update the think method information - self.nextthink = time; - // commit suicide if: You die OR target dies OR you switch away from the seeker OR commit suicide if lifetime is up if ((self.owner.deadflag != DEAD_NO) || (self.tag_target.deadflag != DEAD_NO) || (self.owner.switchweapon != WEP_SEEKER) || (time > self.tag_time + autocvar_g_balance_seeker_tag_lifetime)) @@ -250,6 +247,9 @@ void Seeker_Tracker_Think() // this think method keeps track of the tag entity c } return; } + + // Update the think method information + self.nextthink = time; } void Seeker_Tag_Explode ()