diff --git a/YarnSpinner/VirtualMachine.cs b/YarnSpinner/VirtualMachine.cs index 4073898f3..5c73a48b7 100644 --- a/YarnSpinner/VirtualMachine.cs +++ b/YarnSpinner/VirtualMachine.cs @@ -57,6 +57,9 @@ public void SetNode(string nodeName) { dialogue.LogDebugMessage ("Running node " + nodeName); + // Clear the special variables + dialogue.continuity.SetNumber(SpecialVariables.ShuffleOptions, 0.0f); + currentNodeInstructions = program.nodes [nodeName].instructions; state.currentNode = nodeName; state.programCounter = 0;