diff options
| author | Valentin Popov <valentin@popov.link> | 2026-12-01 18:58:11 +0300 |
|---|---|---|
| committer | Valentin Popov <valentin@popov.link> | 2026-12-01 18:58:11 +0300 |
| commit | 3b10d83864d84715b875d596fcd5b4147fcd8ed3 (patch) | |
| tree | c67342d57d0df6f380ee4be45763a07a55eb12f6 /crates/fparkan-runtime/src/control_resources.rs | |
| parent | 2d01cd35b069d0d1aa78a064593b54f51b23540d (diff) | |
| download | fparkan-3b10d83864d84715b875d596fcd5b4147fcd8ed3.tar.xz fparkan-3b10d83864d84715b875d596fcd5b4147fcd8ed3.zip | |
fix(control): repair damaged nodes on facility 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 095ac3ab..e682ee5b 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_hull(table, table.handle, world, pose, &facilities, seconds); + repair_zone::repair_nodes(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(); |
