mirror of
https://github.com/dcs-retribution/dcs-retribution.git
synced 2025-11-10 15:41:24 +00:00
Fix error (unable to start DCS liberation if no save file exists)
This commit is contained in:
@@ -33,7 +33,7 @@ class QTopPanel(QFrame):
|
||||
self.proceedButton.setIcon(CONST.ICONS["PassTurn"])
|
||||
self.proceedButton.setProperty("style", "btn-primary")
|
||||
self.proceedButton.clicked.connect(self.proceed)
|
||||
if self.game.turn == 0:
|
||||
if self.game and self.game.turn == 0:
|
||||
self.proceedButton.setEnabled(False)
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user