home
·
contact
·
privacy
projects
/
plomrogue2-experiments
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
a75abb6
)
More quote fixing.
author
Christian Heller
<c.heller@plomlompom.de>
Wed, 4 Nov 2020 04:34:13 +0000
(
05:34
+0100)
committer
Christian Heller
<c.heller@plomlompom.de>
Wed, 4 Nov 2020 04:34:13 +0000
(
05:34
+0100)
new2/plomrogue/game.py
patch
|
blob
|
history
diff --git
a/new2/plomrogue/game.py
b/new2/plomrogue/game.py
index c89d2c6cfddf80c3d30bca0abbe9dbabaa9e1d16..5e33bc49cedc7a408fdb9f5a37415c5bf85346c9 100755
(executable)
--- 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:
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))
def new_world(self, size):
self.map_geometry = MapGeometrySquare(YX(size.y, size.x))