From 87c082f87844f47dd6b057fc2458cee80002dc55 Mon Sep 17 00:00:00 2001 From: Valentin Popov Date: Tue, 1 Dec 2026 20:08:24 +0400 Subject: feat(control): replenish ammunition on repair pads --- crates/fparkan-runtime/src/control_resources.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'crates/fparkan-runtime/src/control_resources.rs') 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(); -- cgit v1.2.3