From 4be8ae687c8adf786c6099c8b8beedf15425a488 Mon Sep 17 00:00:00 2001 From: Christian Heller Date: Tue, 24 Feb 2015 11:38:29 +0100 Subject: [PATCH] Server/py: Fix KeyError-triggering typo. --- plomrogue-server.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.30.2