From 798591b9807ed2858e0fd2dfb100cdd70f22e7d8 Mon Sep 17 00:00:00 2001 From: Dan Albert Date: Tue, 8 Jun 2021 20:56:00 -0700 Subject: [PATCH] Fix repeated JTACs after multiple generations. Fixes https://github.com/dcs-liberation/dcs_liberation/issues/1191 (cherry picked from commit 87dd6b19bf7ce516ac6201eee42c553ecff43cdf) --- game/operation/operation.py | 1 + 1 file changed, 1 insertion(+) diff --git a/game/operation/operation.py b/game/operation/operation.py index 3ca893e5..3df80df7 100644 --- a/game/operation/operation.py +++ b/game/operation/operation.py @@ -399,6 +399,7 @@ class Operation: @classmethod def _generate_ground_conflicts(cls) -> None: """For each frontline in the Operation, generate the ground conflicts and JTACs""" + cls.jtacs = [] for front_line in cls.game.theater.conflicts(): player_cp = front_line.blue_cp enemy_cp = front_line.red_cp