Rezzed units with initial states set to Inherit, start with unwanted states
Imagine the following situation: Raven has initial states of Fire State and Fly/Land set to Inherit (from factory). Airplane factory has these initial states set to Hold Fire and Fly.
This means that without touching the states all your Ravens will be Hold Fire and Fly. But if you rezz yours or enemy Raven from wreck its states will be Fire At Will and Land, which are the engine defaults. These are kinda unwanted.
For units that got rezzed and not produced by factory I would suggest iterating the buildoption tree upwards and finding the first unit whose state is not set to Inherit and using that value. Or at least checking the factory initial states before using engine defaults.
The Athena could possibly be ignored because all units from Athena buildoptions are buildable by factories/striderhub too, and in Initial States settings there are already grouped by their real factories.
Fixed in https://github.com/ZeroK-RTS/Zero-K/commit/94a497712fab0cd2da2b6bcfd5b3a740963944f8
Thanks for the proposal on how to fix, was helpful!