summaryrefslogtreecommitdiff
path: root/asciifarm/client/display/screen.py
diff options
context:
space:
mode:
Diffstat (limited to 'asciifarm/client/display/screen.py')
-rw-r--r--asciifarm/client/display/screen.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/asciifarm/client/display/screen.py b/asciifarm/client/display/screen.py
index 7b609c4..31b50c8 100644
--- a/asciifarm/client/display/screen.py
+++ b/asciifarm/client/display/screen.py
@@ -58,11 +58,12 @@ class Screen:
"textinput": self.makeWin(0, inputY, sideX - 1, inputH),
"health": self.makeWin(sideX, healthY, sideW, healthH),
- "ground": self.makeWin(sideX, groundY, sideW, groundH),
- "inventory": self.makeWin(sideX, invY, sideW, invH),
+ "ground": self.makeWin(sideX, groundY, sideW, invH),
+ "inventory": self.makeWin(sideX, groundY, sideW, invH),
"equipment": self.makeWin(sideX, eqY, sideW, eqH),
"info": self.makeWin(sideX, infoY, sideW, infoH)
}
+
def makeWin(self, x, y, width, height):
if width < 1 or height < 1: