Update the player inventory when opening the menu/loading the game, fixes #72
This commit is contained in:
@ -435,6 +435,7 @@ class Game:
|
||||
return
|
||||
|
||||
self.player = players[0]
|
||||
self.inventory_menu.update_player(self.player)
|
||||
self.map.compute_visibility(self.player.y, self.player.x,
|
||||
self.player.vision)
|
||||
self.display_actions(DisplayActions.UPDATE)
|
||||
|
Reference in New Issue
Block a user