X-Git-Url: https://plomlompom.com/repos/berlin_corona.txt?a=blobdiff_plain;ds=sidebyside;f=plomrogue-server.py;fp=plomrogue-server.py;h=17783537139e36309ccb99cde0b2148ab845d582;hb=bba6075b7a0c2e2e8f208a3985978eed886c43fc;hp=d05966f0a52aba250a7d9d2dd1f88d4505ef3047;hpb=c252465f1e129cd3765bc9f444ef103d6281627e;p=plomrogue diff --git a/plomrogue-server.py b/plomrogue-server.py index d05966f..1778353 100755 --- a/plomrogue-server.py +++ b/plomrogue-server.py @@ -99,7 +99,7 @@ def obey(command, prefix, replay=False, do_record=False): Tokenize command string with shlex.split(comments=True). If replay is set, a non-meta command from the commands_db merely triggers obey() on the next command from the records file. If not, non-meta commands set - io_db["worldstate_updateable"] to world_db["WORLD_EXISTS"], and, if + io_db["worldstate_updateable"] to world_db["WORLD_ACTIVE"], and, if do_record is set, are recorded to io_db["record_chunk"], and save_world() is called (and io_db["record_chunk"] written) if 15 seconds have passed since the last time it was called. The prefix string is inserted into the