From: Christian Heller Date: Tue, 3 Mar 2015 01:04:08 +0000 (+0100) Subject: Server/py: Don't save world map in savefile. X-Git-Tag: tce~432 X-Git-Url: https://plomlompom.com/repos/%7B%7B%20web_path%20%7D%7D/static/%7B%7Bprefix%7D%7D/condition?a=commitdiff_plain;h=dff65f419bc0ac5af9fd2003c0f958d0c50e27cc;p=plomrogue Server/py: Don't save world map in savefile. --- diff --git a/plomrogue-server.py b/plomrogue-server.py index 0e42cee..a1e3a44 100755 --- a/plomrogue-server.py +++ b/plomrogue-server.py @@ -164,7 +164,7 @@ def save_world(): string = "" for key in world_db: - if dict != type(world_db[key]): + if dict != type(world_db[key]) and key != "MAP": string = string + key + " " + str(world_db[key]) + "\n" string = string + helper("ThingActions", "TA_ID") string = string + helper("ThingTypes", "TT_ID", {"TT_CORPSE_ID": False})