From d7150a58d53786580fed00a3d4a0e9d2406fe9bb Mon Sep 17 00:00:00 2001 From: Valentin Popov Date: Sat, 18 Jul 2026 20:15:26 +0400 Subject: feat(prototype): retain unit component provenance --- apps/fparkan-game/src/main.rs | 3 +++ 1 file changed, 3 insertions(+) (limited to 'apps') diff --git a/apps/fparkan-game/src/main.rs b/apps/fparkan-game/src/main.rs index 90effa7..7f059af 100644 --- a/apps/fparkan-game/src/main.rs +++ b/apps/fparkan-game/src/main.rs @@ -1810,6 +1810,7 @@ mod tests { scale: [2.0, 3.0, 4.0], visual_ids: Vec::new(), properties: Vec::new(), + unit_components: Vec::new(), }; assert_eq!( mission_position_scale_transform(&draft), @@ -1850,6 +1851,7 @@ mod tests { scale: [1.0; 3], visual_ids: Vec::new(), properties: Vec::new(), + unit_components: Vec::new(), }]; let commands = render_snapshot_commands_with_assets(&snapshot, None, Some(&drafts))?; @@ -1887,6 +1889,7 @@ mod tests { scale: [1.0; 3], visual_ids: Vec::new(), properties: Vec::new(), + unit_components: Vec::new(), }]; let commands = render_snapshot_commands_with_assets(&snapshot, None, Some(&drafts))?; -- cgit v1.2.3