mirror of
https://github.com/evennia/evennia.git
synced 2026-03-25 17:26:32 +01:00
Resolved issue113, avoiding a loophole in which the protection about @reloading a timed script could be circumvented.
This commit is contained in:
parent
3f703efc2d
commit
7eaf3d221c
3 changed files with 4 additions and 4 deletions
|
|
@ -34,7 +34,7 @@ class ScriptClass(TypeClass):
|
|||
|
||||
def _start_task(self):
|
||||
"start the task runner."
|
||||
if self.interval:
|
||||
if self.interval > 0:
|
||||
#print "Starting task runner"
|
||||
start_now = not self.start_delay
|
||||
self.ndb.twisted_task = task.LoopingCall(self._step_task)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue