passed settings to mapDisplay call
This commit is contained in:
parent
6bfb8c080c
commit
420ebe79f5
|
@ -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()
|
Loading…
Reference in New Issue