passed settings to mapDisplay call

This commit is contained in:
eichhornchen 2020-11-06 16:10:46 +01:00
parent 6bfb8c080c
commit 420ebe79f5

View File

@ -5,7 +5,7 @@ class Display:
def __init__(self, game, screen):
self.screen = screen
self.game = game
self.mapDisplay = MapDisplay(game.m, curses.LINES, curses.COLS * 4/5)
self.mapDisplay = MapDisplay(game.m, game.settings, curses.LINES, curses.COLS * 4/5)
def refresh(self):
self.mapDisplay.refresh()
self.mapDisplay.refresh()