Standardize usage of AddObjective in RA missions

This commit is contained in:
Smittytron
2021-03-27 12:05:09 -05:00
committed by abcdefg30
parent 26fbcf6076
commit 0d3c624bbc
33 changed files with 148 additions and 148 deletions

View File

@@ -82,8 +82,8 @@ reinforcementsHaveArrived = false
LabInfiltrated = function()
Utils.Do(humans, function(player)
if player then
secureLab = player.AddPrimaryObjective("Secure the laboratory by eliminating its guards.")
destroyBase = player.AddPrimaryObjective("Destroy the remaining Soviet presence.")
secureLab = player.AddObjective("Secure the laboratory by eliminating its guards.")
destroyBase = player.AddObjective("Destroy the remaining Soviet presence.")
player.MarkCompletedObjective(infiltrateLab)
Trigger.ClearAll(Lab)
Trigger.AfterDelay(0, function()
@@ -173,7 +173,7 @@ end
InsertSpies = function()
Utils.Do(humans, function(player)
if player then
infiltrateLab = player.AddPrimaryObjective("Get our spy into the laboratory undetected.")
infiltrateLab = player.AddObjective("Get our spy into the laboratory undetected.")
end
end)