X-Git-Url: https://plomlompom.com/repos/?p=plomrogue;a=blobdiff_plain;f=server%2Fio.py;h=877e525e3b23c14eccff83df2e9c572fd99bb7b1;hp=ac7558efae318d99efa53105c5882a40f86f1515;hb=117674cb8473e064058f6f99d99f7ed4aa2c8779;hpb=599eca00c9d9353ad908895b48d04437be95e06e diff --git a/server/io.py b/server/io.py index ac7558e..877e525 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": 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})