Skip to content

Commit

Permalink
Some pause: long statements were after a set_variables, when they…
Browse files Browse the repository at this point in the history
… should have been before it since the `set_variables` doesn't do an action until after the rule has run.

Fixes #186
  • Loading branch information
NSoiffer committed Oct 22, 2023
1 parent d23f887 commit 61d52f4
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions Rules/Languages/en/navigate.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1663,11 +1663,12 @@
if: "$Overview = 'true'"
then:
- t: "speak expression after move" # phrase('speak expression after move')
- pause: long
- set_variables: [Overview: "'false'"]
else:
- t: "overview of expression after move" # phrase('overview of expression after move')
- pause: long
- set_variables: [Overview: "'true'"]
- pause: long

- name: current
tag: "*"
Expand All @@ -1681,8 +1682,8 @@
then: [t: "read"] # phrase('read' next entry in table)
else: [t: "describe"] # phrase('describe' next entry in table)
- t: "current" # phrase('current' entry in table)
- pause: long
- set_variables: [NavNode: "@id"]
- pause: long

# this needs to be near the end because we only test for 'Describe', "Read", etc., and we don't want to get 'DescribeNext', etc.
- name: placemarker
Expand Down

0 comments on commit 61d52f4

Please sign in to comment.