mirror of
https://github.com/weyne85/MIST.git
synced 2025-10-29 16:56:32 +00:00
Merge pull request #25 from lukrop/alive-units-hotfix
Fix updating of alive units.
This commit is contained in:
commit
d333ea3d64
2
mist.lua
2
mist.lua
@ -1023,7 +1023,7 @@ do -- the main scope
|
|||||||
if updateAliveUnitsCounter == 5 then
|
if updateAliveUnitsCounter == 5 then
|
||||||
updateAliveUnitsCounter = 0
|
updateAliveUnitsCounter = 0
|
||||||
|
|
||||||
if not coroutines.update_alive_units then
|
if not coroutines.updateAliveUnits then
|
||||||
coroutines.updateAliveUnits = coroutine.create(updateAliveUnits)
|
coroutines.updateAliveUnits = coroutine.create(updateAliveUnits)
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user