From: Christian Heller Date: Tue, 24 Feb 2015 10:38:29 +0000 (+0100) Subject: Server/py: Fix KeyError-triggering typo. X-Git-Tag: tce~477 X-Git-Url: https://plomlompom.com/repos/te"st.html?a=commitdiff_plain;h=4be8ae687c8adf786c6099c8b8beedf15425a488;p=plomrogue Server/py: Fix KeyError-triggering typo. --- diff --git a/plomrogue-server.py b/plomrogue-server.py index c28f4de..25e2ce4 100755 --- 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