Merge pull request #25 from lukrop/alive-units-hotfix

Fix updating of alive units.
This commit is contained in:
mrSkortch 2016-03-11 02:24:58 -07:00
commit d333ea3d64

View File

@ -1023,7 +1023,7 @@ do -- the main scope
if updateAliveUnitsCounter == 5 then
updateAliveUnitsCounter = 0
if not coroutines.update_alive_units then
if not coroutines.updateAliveUnits then
coroutines.updateAliveUnits = coroutine.create(updateAliveUnits)
end