]> git.rm.cloudns.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
Whoops this should be AFTER the return, or else you get multiple passes... weirdly.
authorSamual <samual@xonotic.org>
Fri, 18 Mar 2011 22:07:03 +0000 (18:07 -0400)
committerSamual <samual@xonotic.org>
Fri, 18 Mar 2011 22:07:03 +0000 (18:07 -0400)
qcsrc/server/w_seeker.qc

index 8fdc57d2b6d49cc367be7f2257a1d53b96ea10de..a5d8a61a226770d609995e73b39ee3f0bcfedd85 100644 (file)
@@ -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 ()