mirror of
https://github.com/FlightControl-Master/MOOSE.git
synced 2025-10-29 16:58:06 +00:00
Merge remote-tracking branch 'origin/develop' into develop
This commit is contained in:
@@ -1314,7 +1314,7 @@ function OPSZONE:EvaluateZone()
|
|||||||
|
|
||||||
if Nblu>0 then
|
if Nblu>0 then
|
||||||
|
|
||||||
if not self:IsAttacked() and self.Tnut>=self.threatlevelCapture then
|
if not self:IsAttacked() and self.Tblu>=self.threatlevelCapture then
|
||||||
self:Attacked(coalition.side.BLUE)
|
self:Attacked(coalition.side.BLUE)
|
||||||
end
|
end
|
||||||
|
|
||||||
@@ -1366,7 +1366,7 @@ function OPSZONE:EvaluateZone()
|
|||||||
|
|
||||||
if Nred>0 then
|
if Nred>0 then
|
||||||
|
|
||||||
if not self:IsAttacked() and self.Tnut>=self.threatlevelCapture then
|
if not self:IsAttacked() and self.Tred>=self.threatlevelCapture then
|
||||||
-- Red is attacking blue zone.
|
-- Red is attacking blue zone.
|
||||||
self:Attacked(coalition.side.RED)
|
self:Attacked(coalition.side.RED)
|
||||||
end
|
end
|
||||||
|
|||||||
Reference in New Issue
Block a user