X-Git-Url: https://plomlompom.com/repos/berlin_corona.txt?a=blobdiff_plain;f=plomrogue-server.py;h=4cb138a3a6da7b2af8b11fa80b84b6dc784d653f;hb=7c9c3b3cc0044de265b845eec1a71d9bc3577105;hp=99f1c6017d38aaa2fe6e9c77c1c3e51ca3f24050;hpb=307b04dbc3e4065a61c7d804953da9dc1c1cba0b;p=plomrogue 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():