reduce use of Map.Topleft and Map.Bottomright as requested in #8549
This commit is contained in:
@@ -245,7 +245,7 @@ InitTriggers = function()
|
||||
player.MarkCompletedObjective(FreePrisoners)
|
||||
end)
|
||||
|
||||
local oilPumps = Map.ActorsInBox(Map.TopLeft, Map.BottomRight, function(self) return self.Type == "v19" end)
|
||||
local oilPumps = ussr.GetActorsByType("v19")
|
||||
|
||||
Trigger.OnAllKilled(oilPumps, function()
|
||||
player.MarkCompletedObjective(KillUSSR)
|
||||
|
||||
Reference in New Issue
Block a user