From ca17bf424a8aa3a42113597aeda32f6897732383 Mon Sep 17 00:00:00 2001 From: Yohann D'ANELLO Date: Mon, 7 Dec 2020 21:51:51 +0100 Subject: [PATCH] Inventory displays were not updated when the texture pack changed --- squirrelbattle/display/display_manager.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/squirrelbattle/display/display_manager.py b/squirrelbattle/display/display_manager.py index 6680f3f..38104ee 100644 --- a/squirrelbattle/display/display_manager.py +++ b/squirrelbattle/display/display_manager.py @@ -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: