mirror of
https://github.com/evennia/evennia.git
synced 2026-03-16 21:06:30 +01:00
Thid candidate fix for https://github.com/evennia/evennia/issues/2039\#issue-555828740
This commit is contained in:
parent
bc8a1320d7
commit
285cb420dc
1 changed files with 3 additions and 1 deletions
|
|
@ -583,7 +583,9 @@ it should not accept 0 at alln seconds. if `None`, will use the
|
|||
del self.db._manual_pause
|
||||
del self.db._paused_callcount
|
||||
# set new flags and start over
|
||||
if interval is not None and interval >= 0:
|
||||
if interval is not None:
|
||||
if interval < 0:
|
||||
interval = 0
|
||||
self.interval = interval
|
||||
if repeats is not None:
|
||||
self.repeats = repeats
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue