From 10bd56c54bca1b57e1f7fbda1bb51953f669bc59 Mon Sep 17 00:00:00 2001 From: chrisgregan Date: Wed, 27 May 2015 13:03:08 +0100 Subject: [PATCH] {x} tag causes null reference error #113 --- Assets/Fungus/Narrative/Scripts/Dialog.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Assets/Fungus/Narrative/Scripts/Dialog.cs b/Assets/Fungus/Narrative/Scripts/Dialog.cs index 535df611..5ac348d6 100644 --- a/Assets/Fungus/Narrative/Scripts/Dialog.cs +++ b/Assets/Fungus/Narrative/Scripts/Dialog.cs @@ -430,7 +430,7 @@ namespace Fungus if (onExitTag != null) { prevStoryText = storyText.text; - Destroy(typingAudio); + SetTypingSoundVolume(false); onExitTag(); } yield break;