From 31516f5c58cf0960896c2a459129d684d9ac0477 Mon Sep 17 00:00:00 2001 From: popertots Date: Sat, 21 Mar 2026 10:31:08 +0000 Subject: [PATCH] 0 -> 1 --- src/entities/shared_systems/pathfinding.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/entities/shared_systems/pathfinding.rs b/src/entities/shared_systems/pathfinding.rs index 835b89b..d94ff09 100644 --- a/src/entities/shared_systems/pathfinding.rs +++ b/src/entities/shared_systems/pathfinding.rs @@ -597,7 +597,7 @@ pub fn movement( let next_point = path[ambulatory.path_index]; let current_crowded = occupancy.count_at(transform.translation) > 2; - let occupied = !current_crowded && occupancy.count_at(next_point) > 0; + let occupied = !current_crowded && occupancy.count_at(next_point) > 1; if occupied { let move_dir = next_point - transform.translation; if move_dir.length_squared() > 0.0 {