mirror of
https://github.com/dcs-retribution/dcs-retribution.git
synced 2025-11-10 15:41:24 +00:00
Determine player vs enemy early in debriefing.
This way the results of committing the debriefing can't alter the view of the debriefing. It looks like it was probably that case that debriefing information displays (but not the committed results) would be incorrect after a base capture because the results might be shown after the results were committed. Maybe fixes https://github.com/Khopa/dcs_liberation/issues/513
This commit is contained in:
@@ -26,7 +26,7 @@ from qt_ui.uiconstants import URLS
|
||||
from qt_ui.widgets.QTopPanel import QTopPanel
|
||||
from qt_ui.widgets.ato import QAirTaskingOrderPanel
|
||||
from qt_ui.widgets.map.QLiberationMap import QLiberationMap
|
||||
from qt_ui.windows.GameUpdateSignal import DebriefingSignal, GameUpdateSignal
|
||||
from qt_ui.windows.GameUpdateSignal import GameUpdateSignal
|
||||
from qt_ui.windows.QDebriefingWindow import QDebriefingWindow
|
||||
from qt_ui.windows.infos.QInfoPanel import QInfoPanel
|
||||
from qt_ui.windows.newgame.QNewGameWizard import NewGameWizard
|
||||
|
||||
@@ -135,7 +135,7 @@ class QWaitingForMissionResultWindow(QDialog):
|
||||
|
||||
updateLayout.addWidget(QLabel("<b>Aircraft destroyed</b>"), 0, 0)
|
||||
updateLayout.addWidget(
|
||||
QLabel(str(len(debriefing.air_losses.losses))), 0, 1)
|
||||
QLabel(str(len(list(debriefing.air_losses.losses)))), 0, 1)
|
||||
|
||||
updateLayout.addWidget(
|
||||
QLabel("<b>Front line units destroyed</b>"), 1, 0)
|
||||
|
||||
Reference in New Issue
Block a user