mirror of
https://github.com/evennia/evennia.git
synced 2026-03-16 21:06:30 +01:00
Fixed regression error in script force_repeat. Resolves #785.
This commit is contained in:
parent
61d591409a
commit
c393f70638
1 changed files with 5 additions and 4 deletions
|
|
@ -109,10 +109,11 @@ class ExtendedLoopingCall(LoopingCall):
|
|||
"""
|
||||
assert self.running, ("Tried to fire an ExtendedLoopingCall "
|
||||
"that was not running.")
|
||||
if self.call is not None:
|
||||
self.call.cancel()
|
||||
self.call.callback()
|
||||
self()
|
||||
self.call.cancel()
|
||||
self.call = None
|
||||
self.starttime = self.clock.seconds()
|
||||
self()
|
||||
|
||||
|
||||
def next_call_time(self):
|
||||
"""
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue