Fixed buggy NPC aggro behaviour

This commit is contained in:
Joshua Barretto 2023-04-07 13:18:26 +01:00
parent 251ab95ac5
commit d751a22af7

View File

@ -139,12 +139,11 @@ impl BehaviorTree {
handle_inbox_trade_accepted, handle_inbox_trade_accepted,
handle_inbox_finished_trade, handle_inbox_finished_trade,
handle_inbox_update_pending_trade, handle_inbox_update_pending_trade,
handle_timed_events,
]); ]);
Self { tree } Self { tree }
} else { } else {
Self { Self {
tree: vec![handle_inbox_cancel_interactions, handle_timed_events], tree: vec![handle_inbox_cancel_interactions],
} }
} }
} }