From 7c9c3b3cc0044de265b845eec1a71d9bc3577105 Mon Sep 17 00:00:00 2001 From: Christian Heller Date: Mon, 2 Mar 2015 05:42:01 +0100 Subject: [PATCH] Server/py: Create dummy map in remake_map(). --- plomrogue-server.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/plomrogue-server.py b/plomrogue-server.py index 99f1c60..4cb138a 100755 --- a/plomrogue-server.py +++ b/plomrogue-server.py @@ -117,7 +117,7 @@ def record(command): def save_world(): - """Save all commands needed to reconstruct current world state.""" + """Save all commands needed to reconstruct current world state.""" # TODO: Misses same optimizations as record() from the original record(). def quote(string): @@ -291,8 +291,8 @@ def play_game(): def remake_map(): - # DUMMY. - print("I'd (re-)make the map now, if only I knew how.") + # DUMMY map creator. + world_db["MAP"] = bytearray(b'.' * (world_db["MAP_LENGTH"] ** 2)) def set_world_inactive(): -- 2.30.2