X-Git-Url: https://plomlompom.com/repos/%22https:/validator.w3.org/static/git-favicon.png?a=blobdiff_plain;f=server.py;h=3e1ae6f1881f8ed9afc0f7a819c550da2b3da224;hb=17984bc886e3a233b828a53354467bbda2c43692;hp=16915e9e6671d982fb200c6aa18da8805d041205;hpb=ca1257ec655f95611de1cbbac2814509d23f6116;p=plomrogue2-experiments diff --git a/server.py b/server.py index 16915e9..3e1ae6f 100755 --- a/server.py +++ b/server.py @@ -154,7 +154,7 @@ class CommandHandler: self.send_all('MAP_SIZE ' + self.stringify_yx(self.world.map_size)) for y in range(self.world.map_size[0]): width = self.world.map_size[1] - terrain_line = self.world.map_[y * width:(y + 1) * width] + terrain_line = self.world.terrain_map[y * width:(y + 1) * width] self.send_all('TERRAIN_LINE %5s %s' % (y, self.quoted(terrain_line))) for thing in self.world.things: self.send_all('THING_TYPE %s %s' % (thing.id_, thing.type_))