Fix a crash when a harvester is rebuilt in cnc64gdi01
This commit is contained in:
committed by
Matthias Mailänder
parent
7c290b9f76
commit
b42276953f
@@ -137,8 +137,8 @@ end
|
||||
|
||||
RebuildHarvesters = function(harv, toBuild)
|
||||
Trigger.OnRemovedFromWorld(harv, function()
|
||||
ProduceUnits(Nod, Airfield, nil, toBuild, function(unit)
|
||||
RebuildHarvesters(unit, toBuild)
|
||||
ProduceUnits(Nod, Airfield, nil, toBuild, function(units)
|
||||
RebuildHarvesters(units[1], toBuild)
|
||||
end)
|
||||
end)
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user