diff options
Diffstat (limited to 'crates/fparkan-runtime/src/production.rs')
| -rw-r--r-- | crates/fparkan-runtime/src/production.rs | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/crates/fparkan-runtime/src/production.rs b/crates/fparkan-runtime/src/production.rs index b33fbf1e..aa9b804a 100644 --- a/crates/fparkan-runtime/src/production.rs +++ b/crates/fparkan-runtime/src/production.rs @@ -590,7 +590,7 @@ pub(super) fn order_script_factory( return None; } // shortcut: retain the compatible reserve for unsupported catalog requests. - schemes_for_plant(mission, production, index).find(|&(scheme, _)| { + schemes_for_plant(mission, production, index).find(|&(scheme, path)| { let draft = &mission.object_drafts[production.reserve_start + scheme * RESERVE_SLOTS]; let fallback = if production.customized { @@ -598,7 +598,9 @@ pub(super) fn order_script_factory( } else { scheme < production.player_scheme_count }; - fallback && draft.unit_dat_header_flags == Some(class) + fallback + && !path.starts_with(crate::robot_designer::STARTER_SCHEME_PREFIX) + && draft.unit_dat_header_flags == Some(class) }) }) .map(|(scheme, _)| scheme) |
