mirror of
https://gitlab.com/veloren/veloren.git
synced 2024-08-30 18:12:32 +00:00
Fixed buggy NPC aggro behaviour
This commit is contained in:
parent
251ab95ac5
commit
d751a22af7
@ -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],
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user