From: Christian Heller Date: Wed, 2 Mar 2016 01:42:22 +0000 (+0100) Subject: Server: Fix bug in savefile write delay calculation. X-Git-Tag: tce~103 X-Git-Url: https://plomlompom.com/repos/?p=plomrogue;a=commitdiff_plain;h=c3d814a6e3a1e021427e3b543290a358c43a8c9f Server: Fix bug in savefile write delay calculation. --- diff --git a/server/io.py b/server/io.py index 01d0436..a483e2d 100644 --- a/server/io.py +++ b/server/io.py @@ -288,7 +288,7 @@ def obey(command, prefix, replay=False, do_record=False): if world_db["WORLD_ACTIVE"]: save_world() io_db["record_chunk"] = "" - io_db["save_wait"] = time.time() + io_db["save_wait_start"] = time.time() io_db["worldstate_updateable"] = world_db["WORLD_ACTIVE"] elif 0 != len(tokens): print("Invalid command/argument, or bad number of tokens: " + command)