Diversion in timeline
This commit is contained in:
parent
dbcff93237
commit
4ae8c20b92
1 changed files with 3 additions and 1 deletions
|
@ -661,8 +661,9 @@ class Diversion(object):
|
||||||
if self.type != 'repeat' and self.type !='interrupt':
|
if self.type != 'repeat' and self.type !='interrupt':
|
||||||
# repeat diversion should be usable infinte times
|
# repeat diversion should be usable infinte times
|
||||||
self.hasHit = True
|
self.hasHit = True
|
||||||
|
|
||||||
story.addToLog(self)
|
story.addToLog(self)
|
||||||
|
story.hugvey.eventLogger.info(f"diverge {self.id}")
|
||||||
return r
|
return r
|
||||||
|
|
||||||
def createReturnDirectionsTo(self, story, startMsg, returnMsg, originalDirection = None, inheritTiming = True, timeoutDuration = .5, replyContainsDurations = None):
|
def createReturnDirectionsTo(self, story, startMsg, returnMsg, originalDirection = None, inheritTiming = True, timeoutDuration = .5, replyContainsDurations = None):
|
||||||
|
@ -753,6 +754,7 @@ class Diversion(object):
|
||||||
Only used if the Diversion sets the story.currentDiversion
|
Only used if the Diversion sets the story.currentDiversion
|
||||||
"""
|
"""
|
||||||
story.logger.info("end of diversion")
|
story.logger.info("end of diversion")
|
||||||
|
story.hugvey.eventLogger.info(f"return from {self.id}")
|
||||||
if not self.finaliseMethod:
|
if not self.finaliseMethod:
|
||||||
story.logger.info(f"No finalisation for diversion {self.id}")
|
story.logger.info(f"No finalisation for diversion {self.id}")
|
||||||
story.currentDiversion = None
|
story.currentDiversion = None
|
||||||
|
|
Loading…
Reference in a new issue