FAForever / faf-coop-maps

Coop maps for FAF
8 stars 21 forks source link

Fix AI air attack - Aeon Mission 4 #413

Closed maudlin27 closed 1 year ago

maudlin27 commented 1 year ago

Previous reference was invalid, resulting in a lua error. E.g.:

WARNING: Error running lua script: ...ce\maps\scca_coop_a04.v0021\scca_coop_a04_script.lua(833): access to nonexistent global variable GetNumOfHumanUnits stack traceback: [C]: in function error' ...ata\faforever\gamedata\lua.nx2\lua\system\config.lua(54): in function <...ata\faforever\gamedata\lua.nx2\lua\system\config.lua:53> ...ce\maps\scca_coop_a04.v0021\scca_coop_a04_script.lua(833): in functioncallback' ...\faforever\gamedata\lua.nx2\lua\scenariotriggers.lua(221): in function <...\faforever\gamedata\lua.nx2\lua\scenariotriggers.lua:203>

While the error doesn't break the mission, it impacts the air attacks that are sent.