diff options
| author | Valentin Popov <valentin@popov.link> | 2026-11-14 20:05:43 +0300 |
|---|---|---|
| committer | Valentin Popov <valentin@popov.link> | 2026-11-14 20:05:43 +0300 |
| commit | 6e18e9f05c1ae92a54dd671b6e47f3e21e299d4f (patch) | |
| tree | f1b7f39fcaf08a3d5beeab8be73aa0a3e3f65fd1 /crates/fparkan-runtime/src/lib.rs | |
| parent | 58910ebe71100617abf6523827e2b04351709de9 (diff) | |
| download | fparkan-6e18e9f05c1ae92a54dd671b6e47f3e21e299d4f.tar.xz fparkan-6e18e9f05c1ae92a54dd671b6e47f3e21e299d4f.zip | |
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.
Diffstat (limited to 'crates/fparkan-runtime/src/lib.rs')
| -rw-r--r-- | crates/fparkan-runtime/src/lib.rs | 2 |
1 files changed, 1 insertions, 1 deletions
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 |
