Replace abused Map.ActorsInBox calls by Map.ActorsInWorld in all ra missions

This commit is contained in:
abcdefg30
2016-04-08 17:38:17 +02:00
parent b02a9a188d
commit ec602f2090
10 changed files with 20 additions and 24 deletions

View File

@@ -348,7 +348,7 @@ InitTriggers = function()
end)
Trigger.AfterDelay(0, function()
local bridges = Map.ActorsInBox(Map.TopLeft, Map.BottomRight, function(self) return self.Type == "bridge1" or self.Type == "bridge2" end)
local bridges = Utils.Where(Map.ActorsInWorld, function(actor) return actor.Type == "bridge1" or actor.Type == "bridge2" end)
ExplodingBridge = bridges[1]
Trigger.OnAllKilled(bridges, function()