Update the time-sensitive script
Since the game time doesn't drift much anymore, the script doesn't need to restart on startup. The restart on repeat is kept, small drifts could accumulate otherwise.
This commit is contained in:
parent
95c8bf348b
commit
c18bfe7388
2 changed files with 0 additions and 19 deletions
|
|
@ -170,10 +170,6 @@ class DefaultScript(ScriptBase):
|
|||
|
||||
"""
|
||||
|
||||
if self.ndb._task and self.ndb._task.running:
|
||||
# The task already exists, doesn't start it again
|
||||
return
|
||||
|
||||
self.ndb._task = ExtendedLoopingCall(self._step_task)
|
||||
|
||||
if self.db._paused_time:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue