Inventory displays were not updated when the texture pack changed

This commit is contained in:
Yohann D'ANELLO 2020-12-07 21:51:51 +01:00
parent 2bb99a707e
commit ca17bf424a
1 changed files with 3 additions and 1 deletions

View File

@ -34,7 +34,9 @@ class DisplayManager:
self.vbar = VerticalSplit(screen, pack)
self.displays = [self.statsdisplay, self.mapdisplay,
self.mainmenudisplay, self.settingsmenudisplay,
self.logsdisplay, self.messagedisplay]
self.logsdisplay, self.messagedisplay,
self.playerinventorydisplay,
self.storeinventorydisplay]
self.update_game_components()
def handle_display_action(self, action: DisplayActions) -> None: