From 207e51fc5b308d5ef967967ba2eec61a30a80057 Mon Sep 17 00:00:00 2001 From: troido Date: Wed, 25 Sep 2019 18:49:25 +0200 Subject: healthbar doesn't have title anymore; made this with textbox --- asciifarm/client/display.py | 1 + 1 file changed, 1 insertion(+) (limited to 'asciifarm/client/display.py') diff --git a/asciifarm/client/display.py b/asciifarm/client/display.py index a2c142e..fbcd34a 100644 --- a/asciifarm/client/display.py +++ b/asciifarm/client/display.py @@ -105,6 +105,7 @@ class Display: maxHealth = 0 self.getWidget("health").set_total(maxHealth) self.getWidget("health").set_filled(health) + self.getWidget("healthtitle").format({"filled": health, "total":maxHealth}) def showInfo(self, infostring): -- cgit