aboutsummaryrefslogtreecommitdiff
path: root/crates/fparkan-runtime/src/control_resources.rs
diff options
context:
space:
mode:
Diffstat (limited to 'crates/fparkan-runtime/src/control_resources.rs')
-rw-r--r--crates/fparkan-runtime/src/control_resources.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/fparkan-runtime/src/control_resources.rs b/crates/fparkan-runtime/src/control_resources.rs
index e682ee5b..3e7f8aab 100644
--- a/crates/fparkan-runtime/src/control_resources.rs
+++ b/crates/fparkan-runtime/src/control_resources.rs
@@ -133,7 +133,7 @@ pub(super) fn tick(engine: &mut Engine, now_ms: u32) {
continue;
};
if mobile_owner {
- repair_zone::repair_nodes(table, world, pose, &facilities, seconds);
+ repair_zone::service_unit(table, world, pose, &facilities, seconds);
}
let object = table.original_id.map_or(table.handle.slot, |id| id.0);
let ticks = state.profiles.ticks.entry(object).or_default();