X-Git-Url: https://plomlompom.com/repos/?a=blobdiff_plain;f=server%2Fio.py;h=a79e548cf4f359c1931ff20e11364797ab0b0d0e;hb=c94c0575b191d0162d8a1cbbbe4e59cca2e40324;hp=ac7558efae318d99efa53105c5882a40f86f1515;hpb=fea55ff542837ce42421aa6664939f21ebec2479;p=plomrogue diff --git a/server/io.py b/server/io.py index ac7558e..a79e548 100644 --- a/server/io.py +++ b/server/io.py @@ -179,13 +179,13 @@ def save_world(): return string string = "" + for plugin in world_db["PLUGIN"]: + string = string + "PLUGIN " + plugin + "\n" for key in sorted(world_db.keys()): if (not isinstance(world_db[key], dict) and not isinstance(world_db[key], list)) and key != "MAP" and \ - key != "WORLD_ACTIVE": + key != "WORLD_ACTIVE" and key[0].isupper(): string = string + key + " " + str(world_db[key]) + "\n" - for plugin in world_db["PLUGIN"]: - string = string + "PLUGIN " + plugin + "\n" string = string + mapsetter("MAP")() string = string + helper("ThingActions", "TA_ID") string = string + helper("ThingTypes", "TT_ID", {"TT_CORPSE_ID": False})