From d751a22af73fc49033cf9a2f30a606fb6e21e0dc Mon Sep 17 00:00:00 2001 From: Joshua Barretto Date: Fri, 7 Apr 2023 13:18:26 +0100 Subject: [PATCH] Fixed buggy NPC aggro behaviour --- server/src/sys/agent/behavior_tree.rs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/server/src/sys/agent/behavior_tree.rs b/server/src/sys/agent/behavior_tree.rs index 84f2994a32..2b4dc59299 100644 --- a/server/src/sys/agent/behavior_tree.rs +++ b/server/src/sys/agent/behavior_tree.rs @@ -139,12 +139,11 @@ impl BehaviorTree { handle_inbox_trade_accepted, handle_inbox_finished_trade, handle_inbox_update_pending_trade, - handle_timed_events, ]); Self { tree } } else { Self { - tree: vec![handle_inbox_cancel_interactions, handle_timed_events], + tree: vec![handle_inbox_cancel_interactions], } } }