X-Git-Url: https://plomlompom.com/repos/?a=blobdiff_plain;f=plomrogue-server.py;h=78cf88c5aa0594a6475c4c96d9bbd94374d01f56;hb=d49987db61d3456bcb623fa795b87e629b819d7f;hp=be83c6a04a8ba5ea19a9524874a3fcd8d36421db;hpb=45697f87b57832be3ca365439a9260e5faf3eb9b;p=plomrogue diff --git a/plomrogue-server.py b/plomrogue-server.py index be83c6a..78cf88c 100755 --- a/plomrogue-server.py +++ b/plomrogue-server.py @@ -204,8 +204,10 @@ def save_world(): string = "" for key in world_db: - if dict != type(world_db[key]) and key != "MAP": + if dict != type(world_db[key]) and key != "MAP" and \ + key != "WORLD_ACTIVE" and key != "SEED_MAP": string = string + key + " " + str(world_db[key]) + "\n" + string = string + "SEED_MAP " + str(world_db["SEED_MAP"]) + "\n" string = string + helper("ThingActions", "TA_ID") string = string + helper("ThingTypes", "TT_ID", {"TT_CORPSE_ID": False}) for id in world_db["ThingTypes"]: