diff --git a/dungeonbattle/display/display.py b/dungeonbattle/display/display.py index cf1d8fc..b6c9081 100644 --- a/dungeonbattle/display/display.py +++ b/dungeonbattle/display/display.py @@ -15,8 +15,8 @@ class Display: self.screen = screen self.texture = texture self.map = m - self.mapdisplay = MapDisplay(self.map, self.texture, self.rows() * 4//5, self.cols()) - self.statsdisplay = StatsDisplay(self.rows()//5, self.cols(), self.rows() * 4//5, 0) + self.mapdisplay = MapDisplay(self.map, self.texture, self.rows * 4//5, self.cols) + self.statsdisplay = StatsDisplay(self.rows//5, self.cols, self.rows * 4//5, 0) def refresh(self, m : Map, p : Player) -> None: self.map = m