aboutsummaryrefslogtreecommitdiff
path: root/crates/fparkan-runtime/src/lib.rs
diff options
context:
space:
mode:
Diffstat (limited to 'crates/fparkan-runtime/src/lib.rs')
-rw-r--r--crates/fparkan-runtime/src/lib.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/crates/fparkan-runtime/src/lib.rs b/crates/fparkan-runtime/src/lib.rs
index a17dd6ab..04aa8858 100644
--- a/crates/fparkan-runtime/src/lib.rs
+++ b/crates/fparkan-runtime/src/lib.rs
@@ -2528,12 +2528,12 @@ fn load_mission_with_options(
let Some(patrol) = &mut unit_patrol else {
continue;
};
- if let Some(handle) =
+ if let Some((handle, center)) =
order.apply(patrol, &mission, &object_drafts, &new_runtime_world)
{
eprintln!(
"script_init_patrol unit={} id={} target={:?}",
- handle.slot, order.actor_id, order.center
+ handle.slot, order.actor_id, center
);
}
}