From 0da658fa6dfc7b2a052066561d904353532220ce Mon Sep 17 00:00:00 2001 From: Valentin Popov Date: Tue, 1 Dec 2026 13:36:08 +0400 Subject: fix(ai): choose fast combat designs for factory orders Prepare a combat catalog entry for SELECT_FASTEST alongside SELECT_STRONGEST. Rank the fast choice using the projected Control forward limit and preserve catalog order on ties. The GOG selector picks 12hel1.dat from the initial scream catalog. Both newly built small factories in Third Part now complete that design from a stock start. --- crates/fparkan-runtime/src/lib.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'crates/fparkan-runtime/src/lib.rs') diff --git a/crates/fparkan-runtime/src/lib.rs b/crates/fparkan-runtime/src/lib.rs index da5af6d8..85052120 100644 --- a/crates/fparkan-runtime/src/lib.rs +++ b/crates/fparkan-runtime/src/lib.rs @@ -2055,9 +2055,9 @@ fn load_mission_with_options( } else { Vec::new() }; - for (_, _, path) in &ai_schemes { - if !build_schemes.contains(path) { - build_schemes.push(path.clone()); + for design in &ai_schemes { + if !build_schemes.contains(&design.path) { + build_schemes.push(design.path.clone()); } } let research_trf_tables = if options.asset_scope == MissionAssetScope::Full -- cgit v1.2.3