Make only the right warfactory infiltratable. don't break the game if a player manages without infiltration.

This commit is contained in:
Muh-Muh
2018-01-30 00:07:50 +01:00
committed by BadWolf
parent 0a092237d3
commit f34911eeb6
3 changed files with 14 additions and 1 deletions

View File

@@ -240,6 +240,10 @@ InitTriggers = function()
end)
Trigger.OnInfiltrated(Prison, function()
if not greece.IsObjectiveCompleted(infWarfactory) then
Media.DisplayMessage("Good work! But next time skip the heroics!", "Battlefield Control")
greece.MarkCompletedObjective(infWarfactory)
end
Trigger.ClearAll(Spy)
Trigger.AfterDelay(DateTime.Seconds(2), MissInfiltrated)
end)