mirror of
https://github.com/mrSkortch/MissionScriptingTools.git
synced 2025-08-15 10:47:23 +00:00
Fix updating of alive units.
This commit is contained in:
parent
f74c5b488a
commit
fc0467f372
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