mirror of
https://github.com/dcs-retribution/dcs-retribution.git
synced 2025-11-10 15:41:24 +00:00
Use FrontLine in ConflictTheater.conflicts.
This commit is contained in:
@@ -98,7 +98,9 @@ class VisualGenerator:
|
||||
self.game = game
|
||||
|
||||
def _generate_frontline_smokes(self):
|
||||
for from_cp, to_cp in self.game.theater.conflicts():
|
||||
for front_line in self.game.theater.conflicts():
|
||||
from_cp = front_line.control_point_a
|
||||
to_cp = front_line.control_point_b
|
||||
if from_cp.is_global or to_cp.is_global:
|
||||
continue
|
||||
|
||||
|
||||
Reference in New Issue
Block a user