if hasattr(thing, 'nickname'):
self.io.send('THING_NAME %s %s' % (thing.id_, quote(t.nickname)))
-
self.io.send('TURN ' + str(self.turn))
for t in self.things:
send_thing(t)
for yx in self.annotations:
write(f, 'ANNOTATE %s %s' % (yx, quote(self.annotations[yx])))
for yx in self.portals:
- write(f, 'PORTAL %s %s' % (yx, self.portals[yx]))
+ write(f, 'PORTAL %s %s' % (yx, quote(self.portals[yx])))
def new_world(self, size):
self.map_geometry = MapGeometrySquare(YX(size.y, size.x))