From 6e18e9f05c1ae92a54dd671b6e47f3e21e299d4f Mon Sep 17 00:00:00 2001 From: Valentin Popov Date: Sat, 14 Nov 2026 21:05:43 +0400 Subject: feat(ai): expose clan roster counts to problem scripts Handler(49) counts free native-format startup slots and Handler(34) reads the live clan roster. The Two Fortresses reaches the research-dependent Handler(65) from every scheduled Problems0 invocation. --- crates/fparkan-runtime/src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (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 bfeb6ed1..3b857586 100644 --- a/crates/fparkan-runtime/src/lib.rs +++ b/crates/fparkan-runtime/src/lib.rs @@ -2810,7 +2810,7 @@ pub fn step_headless( .as_mut() .and_then(|state| state.tick_mission_event(&engine.world, queue_time_ms)); if let Some(loaded) = &mut engine.loaded { - loaded.tick_clan_ai_events(queue_time_ms); + loaded.tick_clan_ai_events(&engine.world, queue_time_ms); } let researched_component = engine .loaded -- cgit v1.2.3