mirror of
https://github.com/FlightControl-Master/MOOSE.git
synced 2025-10-29 16:58:06 +00:00
[FIXED] AIRWING operational regardless of airbase coalition
This commit is contained in:
parent
b9197d65d5
commit
21c2bd1103
@ -2514,7 +2514,7 @@ function LEGION._GetCohorts(Legions, Cohorts, Operation, OpsQueue)
|
||||
local legion=_legion --Ops.Legion#LEGION
|
||||
|
||||
-- Check that runway is operational.
|
||||
local Runway=legion:IsAirwing() and legion:IsRunwayOperational() or true
|
||||
local Runway=(legion:IsAirwing() and legion:IsRunwayOperational() and legion.airbase and legion.airbase:GetCoalition() == legion:GetCoalition())or true
|
||||
|
||||
-- Legion has to be running.
|
||||
if legion:IsRunning() and Runway then
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user