diff options
| author | Valentin Popov <valentin@popov.link> | 2026-11-26 10:58:00 +0300 |
|---|---|---|
| committer | Valentin Popov <valentin@popov.link> | 2026-11-26 10:58:00 +0300 |
| commit | a519d5efefb4d846a9f65c6b9376fa245215a0f6 (patch) | |
| tree | 317ab71339fd63f2065c0720f9d64b05b281a59d /crates/fparkan-runtime/src/clan_ai_events.rs | |
| parent | bb1cf10f550f52bc7bb84d9eb695d2f7acd6dfa3 (diff) | |
| download | fparkan-a519d5efefb4d846a9f65c6b9376fa245215a0f6.tar.xz fparkan-a519d5efefb4d846a9f65c6b9376fa245215a0f6.zip | |
fix(ai): route capturers to authored building entrances
Diffstat (limited to 'crates/fparkan-runtime/src/clan_ai_events.rs')
| -rw-r--r-- | crates/fparkan-runtime/src/clan_ai_events.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/fparkan-runtime/src/clan_ai_events.rs b/crates/fparkan-runtime/src/clan_ai_events.rs index dc72048a..30ceb573 100644 --- a/crates/fparkan-runtime/src/clan_ai_events.rs +++ b/crates/fparkan-runtime/src/clan_ai_events.rs @@ -806,7 +806,7 @@ impl LoadedMissionState { let problem = problem.as_ref() .ok_or("Handler(15) capture requires a current problem")?; let approach = crate::clan_targeting::send_capturer( - &mut self.unit_patrol, world, &self.object_drafts, &self.mission_assets, unit, target_id, + &mut self.unit_patrol, world, &self.object_drafts, &self.mission_assets, &self.terrain, unit, target_id, ); if let Some(approach) = approach { self.clan_ai_events.capture_orders.push((OwnerId(clan as u16), problem.key, approach)); |
