Now the tests should trully be repaired

This commit is contained in:
eichhornchen 2020-11-10 11:39:32 +01:00
parent 2e7c12b770
commit e522047c74
1 changed files with 2 additions and 2 deletions

View File

@ -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