X-Git-Url: https://plomlompom.com/repos/%7B%7Bprefix%7D%7D/copy_structured?a=blobdiff_plain;f=new2%2Fplomrogue%2Fgame.py;h=5e33bc49cedc7a408fdb9f5a37415c5bf85346c9;hb=0bf56a0fb35d60fa2ade7ea661ed5a68f426fa66;hp=c89d2c6cfddf80c3d30bca0abbe9dbabaa9e1d16;hpb=a75abb6869635e91b9d58ee81bdc1a8622cf5444;p=plomrogue2-experiments diff --git a/new2/plomrogue/game.py b/new2/plomrogue/game.py index c89d2c6..5e33bc4 100755 --- a/new2/plomrogue/game.py +++ b/new2/plomrogue/game.py @@ -186,7 +186,7 @@ class Game(GameBase): 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))