GDI08a typo fix

This commit is contained in:
reaperrr
2021-04-17 14:27:54 +02:00
committed by Matthias Mailänder
parent 3276373745
commit 89f270b67c

View File

@@ -85,7 +85,7 @@ SetAttackWaypoints = function(actor, waypoints)
end end
end end
CeckRepairGDIAssetsObjective = function() CheckRepairGDIAssetsObjective = function()
local failed = false local failed = false
local repaired = true local repaired = true
Utils.Do(DamagedGDIAssets, function(actor) Utils.Do(DamagedGDIAssets, function(actor)
@@ -103,7 +103,7 @@ CeckRepairGDIAssetsObjective = function()
GDI.MarkCompletedObjective(RepairAssets) GDI.MarkCompletedObjective(RepairAssets)
return return
end end
Trigger.AfterDelay(DateTime.Seconds(3), function() CeckRepairGDIAssetsObjective() end) Trigger.AfterDelay(DateTime.Seconds(3), function() CheckRepairGDIAssetsObjective() end)
end end
WorldLoaded = function() WorldLoaded = function()
@@ -122,7 +122,7 @@ WorldLoaded = function()
KillGDI = Nod.AddObjective("Kill all enemies!") KillGDI = Nod.AddObjective("Kill all enemies!")
RepairAssets = GDI.AddObjective("Repair GDI base and vehicles.", "Secondary", false) RepairAssets = GDI.AddObjective("Repair GDI base and vehicles.", "Secondary", false)
Trigger.AfterDelay(DateTime.Seconds(5), function() CeckRepairGDIAssetsObjective() end) Trigger.AfterDelay(DateTime.Seconds(5), function() CheckRepairGDIAssetsObjective() end)
AirSupport = GDI.AddObjective("Destroy the SAM sites to receive air support.", "Secondary", false) AirSupport = GDI.AddObjective("Destroy the SAM sites to receive air support.", "Secondary", false)
Trigger.OnAllKilled(SamSites, function() Trigger.OnAllKilled(SamSites, function()