diff --git a/hugvey/story.py b/hugvey/story.py index 711affb..f44bc30 100644 --- a/hugvey/story.py +++ b/hugvey/story.py @@ -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 diff --git a/www/js/hugvey_console.js b/www/js/hugvey_console.js index 96deb8e..fa0322b 100644 --- a/www/js/hugvey_console.js +++ b/www/js/hugvey_console.js @@ -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' }, },