Fix updating of alive units.

This commit is contained in:
Lukas Kropatschek 2016-03-10 15:52:59 +01:00
parent f74c5b488a
commit fc0467f372

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