passed settings to mapDisplay call
This commit is contained in:
		@@ -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()
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user