X-Git-Url: https://plomlompom.com/repos/foo.html?a=blobdiff_plain;f=client.py;h=e02de21017dad347c5e9017bced5451db242cf18;hb=70388a86c4f8fd774eb94b6deaa85bb1cb1d0aed;hp=db525ad739741efde4943daba6f2bd49f3c25149;hpb=6cb020dfca859185a4ad60a2bb236c2bb7c909c9;p=plomrogue2-experiments
diff --git a/client.py b/client.py
index db525ad..e02de21 100755
--- a/client.py
+++ b/client.py
@@ -14,7 +14,7 @@ class MapSquare(game_common.Map):
map_lines = []
start_cut = 0
while start_cut < len(terrain):
- limit = start_cut + self.game.world.map_.size[1]
+ limit = start_cut + self.size[1]
map_lines += [terrain[start_cut:limit]]
start_cut = limit
return "\n".join(map_lines)