Add the persistent utils.delay

This commit is contained in:
Vincent Le Goff 2017-07-20 21:37:34 +02:00
parent f7830a5c29
commit 87b6cee596
3 changed files with 201 additions and 1 deletions

View file

@ -455,6 +455,11 @@ class Evennia(object):
# (this also starts any that didn't yet start)
ScriptDB.objects.validate(init_mode=mode)
# start the persistent tasks
from evennia.utils.persistent import PERSISTENT_TASKS
PERSISTENT_TASKS.load()
PERSISTENT_TASKS.create_delays()
# delete the temporary setting
ServerConfig.objects.conf("server_restart_mode", delete=True)