diff --git a/ink-engine-runtime/VariablesState.cs b/ink-engine-runtime/VariablesState.cs index d9f95696..ac86de3d 100644 --- a/ink-engine-runtime/VariablesState.cs +++ b/ink-engine-runtime/VariablesState.cs @@ -75,7 +75,7 @@ internal bool batchObservingVariableChanges } set { if (!_defaultGlobalVariables.ContainsKey (variableName)) - throw new StoryException ("Cannot assign to a variable that hasn't been declared in the story"); + throw new StoryException ("Cannot assign to a variable ("+variableName+") that hasn't been declared in the story"); var val = Runtime.Value.Create(value); if (val == null) {