From 420ebe79f57784f9752b606b370d0db136c8ccb6 Mon Sep 17 00:00:00 2001 From: eichhornchen Date: Fri, 6 Nov 2020 16:10:46 +0100 Subject: [PATCH] passed settings to mapDisplay call --- dungeonbattle/display/display.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dungeonbattle/display/display.py b/dungeonbattle/display/display.py index 86c76b1..f4359f1 100644 --- a/dungeonbattle/display/display.py +++ b/dungeonbattle/display/display.py @@ -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() \ No newline at end of file + self.mapDisplay.refresh()