Remove the redundant "set to defend stance" functions
They never even worked properly
This commit is contained in:
@@ -226,11 +226,6 @@ ActivatePatrols = function()
|
||||
GroupPatrol(PatrolA, PatrolAPath, DateTime.Seconds(7))
|
||||
GroupPatrol(PatrolB, PatrolBPath, DateTime.Seconds(6))
|
||||
end)
|
||||
|
||||
local units = Map.ActorsInBox(Map.TopLeft, Map.BottomRight, function(self) return self.Owner == soviets and self.HasProperty("AutoTarget") end)
|
||||
Utils.Do(units, function(unit)
|
||||
unit.Stance = "Defend"
|
||||
end)
|
||||
end
|
||||
|
||||
InitTriggers = function()
|
||||
|
||||
@@ -386,11 +386,6 @@ SetupSoviets = function()
|
||||
end
|
||||
end)
|
||||
end)
|
||||
|
||||
local units = Map.ActorsInBox(Map.TopLeft, Map.BottomRight, function(self) return self.Owner == soviets and self.HasProperty("AutoTarget") end)
|
||||
Utils.Do(units, function(unit)
|
||||
unit.Stance = "Defend"
|
||||
end)
|
||||
end)
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user