From 9d8a0624521995ed5b2ad96453c272abcd0029e7 Mon Sep 17 00:00:00 2001 From: Christian Heller Date: Fri, 6 Mar 2015 11:42:28 +0100 Subject: [PATCH] Server/py: Fix variable name bug. --- plomrogue-server.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plomrogue-server.py b/plomrogue-server.py index 3234c4a..5010fe1 100755 --- a/plomrogue-server.py +++ b/plomrogue-server.py @@ -850,7 +850,7 @@ def command_makeworld(seed_string): def command_maplength(maplength_string): """Redefine map length. Invalidate map, therefore lose all things on it.""" - val = integer_test(val_string, 1, 256) + val = integer_test(maplength_string, 1, 256) if None != val: world_db["MAP_LENGTH"] = val set_world_inactive() -- 2.30.2