X-Git-Url: https://plomlompom.com/repos/%7B%7Bprefix%7D%7D/copy_free?a=blobdiff_plain;f=client.py;h=db525ad739741efde4943daba6f2bd49f3c25149;hb=6cb020dfca859185a4ad60a2bb236c2bb7c909c9;hp=11d33ccaba367f06d0a70cba78fd14dd662823a9;hpb=2b91efc835f8e68c97830d13d1e3070fdbcf1cc5;p=plomrogue2-experiments diff --git a/client.py b/client.py index 11d33cc..db525ad 100755 --- a/client.py +++ b/client.py @@ -23,7 +23,7 @@ class MapSquare(game_common.Map): class MapHex(game_common.Map): def list_terrain_to_lines(self, terrain_as_list): - new_terrain_list = [] + new_terrain_list = [' '] x = 0 y = 0 for c in terrain_as_list: @@ -33,7 +33,7 @@ class MapHex(game_common.Map): new_terrain_list += ['\n'] x = 0 y += 1 - if y % 2 != 0: + if y % 2 == 0: new_terrain_list += [' '] return ''.join(new_terrain_list)