home · contact · privacy
Fix screen jumping around.
[plomrogue2-experiments] / new2 / plomrogue / game.py
index c89d2c6cfddf80c3d30bca0abbe9dbabaa9e1d16..1cb6e2232b7d59542a37e08e9264a58da538efde 100755 (executable)
@@ -88,7 +88,6 @@ class Game(GameBase):
             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)
@@ -186,7 +185,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))