mirror of
https://github.com/FlightControl-Master/MOOSE.git
synced 2025-10-29 16:58:06 +00:00
OPS
**AUFTRAG** - Added new type `NOTHING` (similar to `ALERT5` but for ground/naval)
This commit is contained in:
@@ -1149,7 +1149,7 @@ function ARMYGROUP:onafterOutOfAmmo(From, Event, To)
|
||||
end
|
||||
|
||||
-- Third, check if we want to RTZ once out of ammo.
|
||||
if self.rtzOnOutOfAmmo then
|
||||
if self.rtzOnOutOfAmmo then
|
||||
self:__RTZ(-1)
|
||||
end
|
||||
|
||||
@@ -1251,6 +1251,9 @@ function ARMYGROUP:onafterRTZ(From, Event, To, Zone, Formation)
|
||||
-- Zone.
|
||||
local zone=Zone or self.homezone
|
||||
|
||||
-- Cancel all missions in the queue.
|
||||
self:CancelAllMissions()
|
||||
|
||||
if zone then
|
||||
|
||||
if self:IsInZone(zone) then
|
||||
|
||||
Reference in New Issue
Block a user