X-Git-Url: https://plomlompom.com/repos/?a=blobdiff_plain;f=server%2Fio.py;h=5e02ed4287d1c22e4724a982f2f72718ef3af839;hb=refs%2Ftags%2Ftce;hp=ce3ee1a947eca4b9109cf4e9df51c57f41248028;hpb=2235b640094c90718ec5d4984a57925a5e30e193;p=plomrogue diff --git a/server/io.py b/server/io.py index ce3ee1a..5e02ed4 100644 --- a/server/io.py +++ b/server/io.py @@ -212,6 +212,7 @@ def save_world(): string = string + "T_ID " + str(tid) + "\n" for carried in sorted(world_db["Things"][tid]["T_CARRIES"]): string = string + "T_CARRIES " + str(carried) + "\n" + string = string + io_db["hook_save"]() string = string + "SEED_RANDOMNESS " + str(rand.seed) + "\n" + \ "WORLD_ACTIVE " + str(world_db["WORLD_ACTIVE"]) atomic_write(io_db["path_save"], string)