diff options
| author | Valentin Popov <valentin@popov.link> | 2026-12-01 19:08:24 +0300 |
|---|---|---|
| committer | Valentin Popov <valentin@popov.link> | 2026-12-01 19:08:24 +0300 |
| commit | 87c082f87844f47dd6b057fc2458cee80002dc55 (patch) | |
| tree | 8d8785580c9d804dadadf1053b49f40bfae4a91e /crates/fparkan-runtime/src/control_resources.rs | |
| parent | 3b10d83864d84715b875d596fcd5b4147fcd8ed3 (diff) | |
| download | fparkan-87c082f87844f47dd6b057fc2458cee80002dc55.tar.xz fparkan-87c082f87844f47dd6b057fc2458cee80002dc55.zip | |
feat(control): replenish ammunition on repair pads
Diffstat (limited to 'crates/fparkan-runtime/src/control_resources.rs')
| -rw-r--r-- | crates/fparkan-runtime/src/control_resources.rs | 2 |
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(); |
