diff options
| author | Valentin Popov <valentin@popov.link> | 2026-12-03 10:46:30 +0300 |
|---|---|---|
| committer | Valentin Popov <valentin@popov.link> | 2026-12-03 10:46:30 +0300 |
| commit | 3a4ac6f3f797344f9441ecf8ae84b0c96a28b319 (patch) | |
| tree | d24557bdc9fa48bbed3bf50bd824723313cfe58c /apps/fparkan-game/src/live_factory_scene | |
| parent | f4286bc592d629288f5fa7a58277a84474af6154 (diff) | |
| download | fparkan-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.rs | 4 |
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(()) } |
