mirror of
https://github.com/dcs-liberation/dcs_liberation.git
synced 2025-11-10 14:22:26 +00:00
BARCAP renamed CAP for regular airbases.
This commit is contained in:
parent
a8d2a1e371
commit
64c5c39b2a
@ -132,7 +132,8 @@ class FlightPlanner:
|
|||||||
break
|
break
|
||||||
|
|
||||||
inventory[unit] = inventory[unit] - 2
|
inventory[unit] = inventory[unit] - 2
|
||||||
flight = Flight(unit, 2, self.from_cp, FlightType.BARCAP)
|
ftype = FlightType.BARCAP if self.from_cp.is_carrier else FlightType.CAP
|
||||||
|
flight = Flight(unit, 2, self.from_cp, ftype)
|
||||||
|
|
||||||
# Flight path : fly over each ground object (TODO : improve)
|
# Flight path : fly over each ground object (TODO : improve)
|
||||||
flight.points = []
|
flight.points = []
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user