[NO GBP] Lil' fix to fishing hat PR. (#85459)

## About The Pull Request
I didn't remove or change a few copypasted lines. @Jacquerel.

## Why It's Good For The Game
They won't flee otherwise.

## Changelog
N/A
This commit is contained in:
Ghom
2024-07-31 16:27:37 +02:00
committed by GitHub
parent 927e6b8962
commit d4bd72800d
2 changed files with 1 additions and 5 deletions
@@ -10,8 +10,6 @@
/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))
return
if(!should_flee(controller, flee_from))
return
var/flee_distance = controller.blackboard[BB_BASIC_MOB_FLEE_DISTANCE] || DEFAULT_BASIC_FLEE_DISTANCE