Zero-K
Zero-K copied to clipboard
Native AI commanders do not receive the economy module.
- add a Circuit.
- observe its commander having 0.3 income from being a mobile nano.
Hint: ./LuaRules/Configs/start_setup.lua:52:DEFAULT_UNIT = UnitDefNames["dyntrainer_assault_base"].id
The faulty line
- return Spring.GetTeamRulesParam(teamID, "start_unit") or "dyntrainer_assault_base"
+ return UnitDefNames[Spring.GetTeamRulesParam(teamID, "start_unit") or "dyntrainer_assault_base"].id
Also GetStartUnit now must return id, so this is also wrong (though obsolete?)