mirror of
https://github.com/dcs-retribution/dcs-retribution.git
synced 2025-11-10 15:41:24 +00:00
Defer game load to after UI initialization.
This removes both the double load that happens on startup and also makes it possible to get the UI to create a new game if the existing default.liberation is not compatible.
This commit is contained in:
@@ -121,8 +121,8 @@ class QLiberationMap(QGraphicsView):
|
||||
|
||||
def setGame(self, game: Optional[Game]):
|
||||
self.game = game
|
||||
logging.debug("Reloading Map Canvas")
|
||||
if self.game is not None:
|
||||
logging.debug("Reloading Map Canvas")
|
||||
self.reload_scene()
|
||||
|
||||
"""
|
||||
|
||||
Reference in New Issue
Block a user