Fix map centering for CLI generated games.

This commit is contained in:
Dan Albert 2021-05-07 17:13:53 -07:00
parent 3c9d21e38d
commit 8320c6940b

View File

@ -122,7 +122,7 @@ class QLiberationMap(QGraphicsView):
super(QLiberationMap, self).__init__()
QLiberationMap.instance = self
self.game_model = game_model
self.game: Optional[Game] = game_model.game
self.game: Optional[Game] = None # Setup by setGame below.
self.state = QLiberationMapState.NORMAL
self.waypoint_info_font = QFont()