From 285cb420dc190e092cbdbc2be3263a410ad9f0fa Mon Sep 17 00:00:00 2001 From: Oscuro87 Date: Tue, 28 Jan 2020 16:14:57 +0100 Subject: [PATCH] Thid candidate fix for https://github.com/evennia/evennia/issues/2039\#issue-555828740 --- evennia/scripts/scripts.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/evennia/scripts/scripts.py b/evennia/scripts/scripts.py index a0136ccfba..89ff50b10a 100644 --- a/evennia/scripts/scripts.py +++ b/evennia/scripts/scripts.py @@ -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