X-Git-Url: https://plomlompom.com/repos/?a=blobdiff_plain;f=client_prototype.py;h=ba9e54348af063f8d77b7b90f349759d8c7365bb;hb=512db83fc2b16a124ca25f22f0db6e4ed7ecabc0;hp=1801da1072f2cff77e5e1ca0e71420d5555c1ed8;hpb=aad061535f0856757bcc84f64c6847cf11914ee6;p=plomrogue diff --git a/client_prototype.py b/client_prototype.py index 1801da1..ba9e543 100644 --- a/client_prototype.py +++ b/client_prototype.py @@ -252,11 +252,10 @@ def win_foo(): def win_info(): - size = [1, 33] winmap = "T: " + str(world_data["turn"]) \ + " H: " + str(world_data["lifepoints"]) \ + " S: " + str(world_data["satiation"]) - winmap = str(winmap).ljust(size[1]) + size = [1, len(winmap)] offset = [0, 0] return offset, size, winmap