aboutsummaryrefslogtreecommitdiff
path: root/crates/fparkan-runtime/src/clan_ai_events.rs
diff options
context:
space:
mode:
Diffstat (limited to 'crates/fparkan-runtime/src/clan_ai_events.rs')
-rw-r--r--crates/fparkan-runtime/src/clan_ai_events.rs3
1 files changed, 2 insertions, 1 deletions
diff --git a/crates/fparkan-runtime/src/clan_ai_events.rs b/crates/fparkan-runtime/src/clan_ai_events.rs
index 911392f6..57de496d 100644
--- a/crates/fparkan-runtime/src/clan_ai_events.rs
+++ b/crates/fparkan-runtime/src/clan_ai_events.rs
@@ -229,6 +229,7 @@ pub(super) struct ClanAiEvents {
next_ms: BTreeMap<usize, u32>,
stops: BTreeMap<(usize, usize, usize), (MissionEventStop, u64)>,
research_stubs: BTreeMap<(usize, u8), u64>,
+ pub(super) research_catalogs: BTreeMap<usize, crate::clan_research::ClanResearch>,
problems: BTreeMap<usize, Handler2RecordScheduler>,
started: BTreeMap<(usize, u32), u64>,
factory_orders: BTreeMap<(u16, u32), u64>,
@@ -1048,7 +1049,7 @@ impl LoadedMissionState {
id,
)
.any(|handle| Some(handle) == assignment);
- // shortcut: an unloaded candidate catalog rejects the order; wire lab dispatch with Handler(43).
+ // shortcut: reject the order until the native laboratory research task is wired.
self.clan_ai_events
.log_research_stub(clan, 41, &bundle.script_path);
Ok(Some(VarSetDefault::Dword(if exists {