Rename condition again for clearer use

This commit is contained in:
Ruben van de Ven 2019-07-10 16:28:54 +02:00
parent 95c004eba6
commit 0222c34d5c
2 changed files with 2 additions and 2 deletions

View file

@ -333,7 +333,7 @@ class Condition(object):
condition.method = condition._hasPlayed
if data['type'] == "variableEquals":
condition.method = condition._variableEquals
if data['type'] == "loop_timer":
if data['type'] == "loop_is_beyond_time":
condition.method = condition._hasTimerPassed
if data['type'] == "variable_storage":
condition.method = condition._hasVariableStorage

View file

@ -1627,7 +1627,7 @@ class Graph {
'regex': { 'value': '','placeholder': "match any input" },
'instantMatch': { 'value': '', 'title': "When matched, don't wait for reply to finish. Instantly take this direction.", 'type':'checkbox' },
},
'loop_timer': {
'loop_is_beyond_time': {
'time': {'type':'number', 'value': 0, 'min':0, 'step': 1, 'label': "Time of the loop (seconds)"},
'inverseMatch': { 'title': "Match if before given time (instead of after).", 'type':'checkbox' },
},