Browse Source

{x} tag causes null reference error #113

master
chrisgregan 10 years ago
parent
commit
10bd56c54b
  1. 2
      Assets/Fungus/Narrative/Scripts/Dialog.cs

2
Assets/Fungus/Narrative/Scripts/Dialog.cs

@ -430,7 +430,7 @@ namespace Fungus
if (onExitTag != null) if (onExitTag != null)
{ {
prevStoryText = storyText.text; prevStoryText = storyText.text;
Destroy(typingAudio); SetTypingSoundVolume(false);
onExitTag(); onExitTag();
} }
yield break; yield break;

Loading…
Cancel
Save