aboutsummaryrefslogtreecommitdiff
path: root/apps/fparkan-game/src/live_factory_scene
diff options
context:
space:
mode:
authorValentin Popov <valentin@popov.link>2026-12-03 10:46:30 +0300
committerValentin Popov <valentin@popov.link>2026-12-03 10:46:30 +0300
commit3a4ac6f3f797344f9441ecf8ae84b0c96a28b319 (patch)
treed24557bdc9fa48bbed3bf50bd824723313cfe58c /apps/fparkan-game/src/live_factory_scene
parentf4286bc592d629288f5fa7a58277a84474af6154 (diff)
downloadfparkan-3a4ac6f3f797344f9441ecf8ae84b0c96a28b319.tar.xz
fparkan-3a4ac6f3f797344f9441ecf8ae84b0c96a28b319.zip
fix(ui): show live factory builds on cockpit instruments
Diffstat (limited to 'apps/fparkan-game/src/live_factory_scene')
-rw-r--r--apps/fparkan-game/src/live_factory_scene/offsets.rs4
1 files changed, 4 insertions, 0 deletions
diff --git a/apps/fparkan-game/src/live_factory_scene/offsets.rs b/apps/fparkan-game/src/live_factory_scene/offsets.rs
index b4d737de..0388c2a8 100644
--- a/apps/fparkan-game/src/live_factory_scene/offsets.rs
+++ b/apps/fparkan-game/src/live_factory_scene/offsets.rs
@@ -124,6 +124,10 @@ impl FactorySceneExtension {
}
}
self.cockpits.offset_geometry(offsets);
+ #[cfg(windows)]
+ for instrument in &mut self.instruments {
+ instrument.offset_geometry(offsets);
+ }
self.shields.offset_geometry(offsets);
Ok(())
}