From a5890a341d87734f50c7542a598b6aef2e3dc2df Mon Sep 17 00:00:00 2001 From: Yohann D'ANELLO Date: Thu, 17 Dec 2020 23:46:20 +0100 Subject: [PATCH] Display inventory menu next to the merchant menu --- squirrelbattle/display/display_manager.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/squirrelbattle/display/display_manager.py b/squirrelbattle/display/display_manager.py index f9b3f01..4e2381a 100644 --- a/squirrelbattle/display/display_manager.py +++ b/squirrelbattle/display/display_manager.py @@ -104,7 +104,11 @@ class DisplayManager: self.storeinventorydisplay.refresh( self.rows // 10, self.cols // 2, 8 * self.rows // 10, 2 * self.cols // 5) + self.playerinventorydisplay.refresh( + self.rows // 10, self.cols // 10, + 8 * self.rows // 10, 2 * self.cols // 5) displays.append(self.storeinventorydisplay) + displays.append(self.playerinventorydisplay) elif self.game.state == GameMode.MAINMENU: self.mainmenudisplay.refresh(0, 0, self.rows, self.cols) displays.append(self.mainmenudisplay)