diff --git a/src/js/core/FlowControl.js b/src/js/core/FlowControl.js index 9d4b9af5..6241c3e4 100755 --- a/src/js/core/FlowControl.js +++ b/src/js/core/FlowControl.js @@ -201,7 +201,7 @@ var FlowControl = { * @returns {Object} The updated state of the recipe. */ runReturn: function(state) { - state.progress = state.opList.length; + state.progress = state.opList.length - 1; return state; },