mirror of
https://github.com/evennia/evennia.git
synced 2026-03-23 16:26:30 +01:00
Task needs to be started if pause() was previously called
This commit is contained in:
parent
db0b978da7
commit
d5ec338782
1 changed files with 2 additions and 3 deletions
|
|
@ -162,9 +162,8 @@ class ScriptBase(ScriptDB, metaclass=TypeclassBase):
|
|||
Start task runner.
|
||||
|
||||
"""
|
||||
if self.ndb._task:
|
||||
return
|
||||
self.ndb._task = ExtendedLoopingCall(self._step_task)
|
||||
if not self.ndb._task:
|
||||
self.ndb._task = ExtendedLoopingCall(self._step_task)
|
||||
|
||||
if self.db._paused_time:
|
||||
# the script was paused; restarting
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue