Jeopardy: obey inactiveShutoff if autoRestart

This commit is contained in:
Gordon Shumway 2020-06-18 16:04:47 -04:00 committed by GitHub
parent 805baaecb2
commit f402706d00
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -427,6 +427,8 @@ class Jeopardy(callbacks.Plugin):
return
elif self.unanswered > inactiveShutoff and inactiveShutoff > 0:
self.reply("Seems like no one's playing any more. Jeopardy! stopped.")
self.correct = True
self.active = False
self.stop()
return
elif len(self.questions) == 0: