From: Christian Heller Date: Fri, 6 Mar 2015 10:42:28 +0000 (+0100) Subject: Server/py: Fix variable name bug. X-Git-Tag: tce~410 X-Git-Url: https://plomlompom.com/repos/%7B%7B%20web_path%20%7D%7D/test.html?a=commitdiff_plain;h=9d8a0624521995ed5b2ad96453c272abcd0029e7;p=plomrogue Server/py: Fix variable name bug. --- 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()