From 76aacccc08f81d62452102c0a753e00bd194df5b Mon Sep 17 00:00:00 2001 From: Your Name Date: Sun, 30 Aug 2020 15:43:38 -0600 Subject: [PATCH] fix? --- main_shared/maps/mp/bots/_bot_internal.gsc | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/main_shared/maps/mp/bots/_bot_internal.gsc b/main_shared/maps/mp/bots/_bot_internal.gsc index 162d4d1..a1f6283 100644 --- a/main_shared/maps/mp/bots/_bot_internal.gsc +++ b/main_shared/maps/mp/bots/_bot_internal.gsc @@ -1235,10 +1235,11 @@ doWalk(goal, dist, isScriptGoal) self endon("goal_internal");//so that the watchOnGoal notify can happen same frame, not a frame later distsq = dist*dist; - self thread killWalkOnEvents(); - self thread watchOnGoal(goal, distsq); if (isScriptGoal) self thread doWalkScriptNotify(); + + self thread killWalkOnEvents(); + self thread watchOnGoal(goal, distsq); current = self initAStar(goal); while(current >= 0)