home
·
contact
·
privacy
projects
/
plomrogue
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
02d0398
)
Server: Fix bug in savefile write delay calculation.
author
Christian Heller
<c.heller@plomlompom.de>
Wed, 2 Mar 2016 01:42:22 +0000
(
02:42
+0100)
committer
Christian Heller
<c.heller@plomlompom.de>
Wed, 2 Mar 2016 01:42:22 +0000
(
02:42
+0100)
server/io.py
patch
|
blob
|
history
diff --git
a/server/io.py
b/server/io.py
index 01d04365770ace851b97568ea7f0c22cd19dc451..a483e2d4e313bdd91ddd25f08aa7f700e9e55376 100644
(file)
--- 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)