mirror of
https://github.com/oddluck/limnoria-plugins.git
synced 2025-04-26 04:51:09 -05:00
Jeopardy: don't generate hints if numHints = 0
This commit is contained in:
parent
7f00481994
commit
8d41f90bb9
@ -418,7 +418,7 @@ class Jeopardy(callbacks.Plugin):
|
||||
schedule.removeEvent('event_%s' % self.channel)
|
||||
except:
|
||||
pass
|
||||
if self.hints <= self.numHints and self.hints > 0:
|
||||
if self.hints <= self.numHints and self.hints > 0 and self.numHints > 0:
|
||||
ans = self.a[0]
|
||||
self.show.setdefault(self.id, None)
|
||||
self.revealed.setdefault(self.id, None)
|
||||
|
Loading…
x
Reference in New Issue
Block a user