mirror of
https://github.com/dcs-retribution/dcs-retribution.git
synced 2025-11-10 15:41:24 +00:00
Generate ship groups for carriers. Carriers can be destroyed. Faction need to have carrier available.
This commit is contained in:
@@ -313,10 +313,10 @@ class Game:
|
||||
# Plan flights for next turn
|
||||
self.planners = {}
|
||||
for cp in self.theater.controlpoints:
|
||||
planner = FlightPlanner(cp, self)
|
||||
planner.plan_flights()
|
||||
self.planners[cp.id] = planner
|
||||
print(planner)
|
||||
if cp.has_runway():
|
||||
planner = FlightPlanner(cp, self)
|
||||
planner.plan_flights()
|
||||
self.planners[cp.id] = planner
|
||||
|
||||
|
||||
@property
|
||||
|
||||
Reference in New Issue
Block a user