mirror of
https://github.com/Skyrat-SS13/Skyrat-tg.git
synced 2026-07-18 03:17:57 +01:00
[MIRROR] [NO GBP] Lil' fix to fishing hat PR. (#29148)
* [NO GBP] Lil' fix to fishing hat PR. * Update flee_target.dm --------- Co-authored-by: Ghom <42542238+Ghommie@users.noreply.github.com> Co-authored-by: SpaceLoveSs13 <68121607+SpaceLoveSs13@users.noreply.github.com>
This commit is contained in:
@@ -10,7 +10,7 @@
|
||||
/datum/ai_planning_subtree/flee_target/SelectBehaviors(datum/ai_controller/controller, seconds_per_tick)
|
||||
. = ..()
|
||||
var/atom/flee_from = controller.blackboard[target_key]
|
||||
if (controller.blackboard[BB_BASIC_MOB_STOP_FLEEING] || QDELETED(flee_from))
|
||||
if(!should_flee(controller, flee_from))
|
||||
return
|
||||
if(!should_flee(controller, flee_from))
|
||||
return
|
||||
|
||||
Reference in New Issue
Block a user