Removed useless code
This commit is contained in:
		@@ -21,15 +21,11 @@ class StatsDisplay(Display):
 | 
			
		||||
            .format(self.player.level, self.player.current_xp,
 | 
			
		||||
                    self.player.max_xp, self.player.health,
 | 
			
		||||
                    self.player.maxhealth)
 | 
			
		||||
        for _ in range(self.width - len(string2) - 1):
 | 
			
		||||
            string2 = string2 + " "
 | 
			
		||||
        self.pad.addstr(0, 0, string2)
 | 
			
		||||
        string3 = "STR {}\nINT {}\nCHR {}\nDEX {}\nCON {}"\
 | 
			
		||||
            .format(self.player.strength,
 | 
			
		||||
                    self.player.intelligence, self.player.charisma,
 | 
			
		||||
                    self.player.dexterity, self.player.constitution)
 | 
			
		||||
        for _ in range(self.width - len(string3) - 1):
 | 
			
		||||
            string3 = string3 + " "
 | 
			
		||||
        self.pad.addstr(3, 0, string3)
 | 
			
		||||
 | 
			
		||||
        inventory_str = "Inventaire : " + "".join(
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user