Fix crash when hasPlayed condition refers to non-existing message
This commit is contained in:
parent
6ca3a79acd
commit
e819e599db
2 changed files with 3 additions and 2 deletions
|
@ -467,6 +467,7 @@ class Condition(object):
|
|||
msg = story.get(self.vars['msgId'])
|
||||
if not msg:
|
||||
story.logger.critical(f"Condition on non-existing message: {self.vars['msgId']}")
|
||||
return False
|
||||
|
||||
#: :type msg: Message
|
||||
r = msg.isFinished()
|
||||
|
|
|
@ -1041,8 +1041,8 @@ class Graph {
|
|||
crel('input', {
|
||||
'type': 'number',
|
||||
'min': 1,
|
||||
// 'max': 5,
|
||||
'step': .1,
|
||||
'max': 92,
|
||||
'step': 1,
|
||||
'on': {
|
||||
'change': function(e){
|
||||
panopticon.graph.configuration['light0_fade'] = e.target.value
|
||||
|
|
Loading…
Reference in a new issue