GetTeamLuaAI changes
Posted: 19 Jun 2021, 20:53
Before 105, GetTeamLuaAI returned "" for teams with no LuaAI
In 105, GetTeamLuaAI returns something that doesn't even has a type for teams with no LuaAI
Not "", not even nil, but some weird thingy lua has trouble to handle.
Thankfully, it appears to be falsy and considered ~= from anything else.
Still, broke one of my gadget in strange ways.
In 105, GetTeamLuaAI returns something that doesn't even has a type for teams with no LuaAI
Not "", not even nil, but some weird thingy lua has trouble to handle.
Thankfully, it appears to be falsy and considered ~= from anything else.
Still, broke one of my gadget in strange ways.