Re-initialize turn after AWCD changes if turn > 0

This commit is contained in:
Raffson 2023-12-29 17:38:24 +01:00
parent 62df761d9c
commit 35408f7a53
No known key found for this signature in database
GPG Key ID: B0402B2C9B764D99

View File

@ -802,6 +802,8 @@ class AirWingConfigurationDialog(QDialog):
def accept(self) -> None: def accept(self) -> None:
for tab in self.tabs: for tab in self.tabs:
tab.apply() tab.apply()
if tab.coalition.game.turn != 0:
tab.coalition.initialize_turn(False)
super().accept() super().accept()
def reject(self) -> None: def reject(self) -> None: