home
·
contact
·
privacy
projects
/
plomrogue
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a8a6d44
)
Server/py: Fix KeyError-triggering typo.
author
Christian Heller
<c.heller@plomlompom.de>
Tue, 24 Feb 2015 10:38:29 +0000
(11:38 +0100)
committer
Christian Heller
<c.heller@plomlompom.de>
Tue, 24 Feb 2015 10:38:29 +0000
(11:38 +0100)
plomrogue-server.py
patch
|
blob
|
history
diff --git
a/plomrogue-server.py
b/plomrogue-server.py
index c28f4def769ed6b6518009c6d9c0e690daa12aae..25e2ce41d7f1147c00fb2df46a02a545d2457d3f 100755
(executable)
--- a/
plomrogue-server.py
+++ b/
plomrogue-server.py
@@
-206,7
+206,7
@@
def replay_game():
io_db["file_record"] = open(io_db["path_record"], "r")
io_db["file_record"].prefix = "record file line "
io_db["file_record"].line_n = 1
- while world_db["
turn
"] < opts.replay:
+ while world_db["
TURN
"] < opts.replay:
line = io_db["file_record"].readline()
if "" == line:
break