Add the persistent utils.delay
This commit is contained in:
parent
f7830a5c29
commit
87b6cee596
3 changed files with 201 additions and 1 deletions
|
|
@ -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)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue