diff --git a/runtime/scripts/marking.js b/runtime/scripts/marking.js index 867df8645..e1ae5b153 100644 --- a/runtime/scripts/marking.js +++ b/runtime/scripts/marking.js @@ -619,15 +619,16 @@ Numbas.queueScript('marking',['util', 'jme','localisation','jme-variables','math credit = credit.subtract(Fraction.fromFloat(state.credit)); break; case FeedbackOps.END: + out_states.push(state); + if(state.invalid) { + valid = false; + } if(num_lifts) { while(i+1