Fixing OCA-bug against FOBs

OCA Aircraft should be properly allowed against FOBs given Ghosti's roadbases
This commit is contained in:
Raffson
2023-07-05 23:23:00 +02:00
parent 785ac6eacc
commit 2ec187bc9c
3 changed files with 6 additions and 4 deletions

View File

@@ -1558,6 +1558,8 @@ class Fob(ControlPoint, RadioFrequencyContainer, CTLD):
if not self.is_friendly(for_player):
yield FlightType.STRIKE
yield FlightType.AIR_ASSAULT
if self.total_aircraft_parking(ParkingType(True, True, True)):
yield FlightType.OCA_AIRCRAFT
else:
yield FlightType.AEWC