Browse Source

Fixed dialog hanging on empty say text

master
chrisgregan 10 years ago
parent
commit
afba04585d
  1. 4
      Assets/Fungus/Dialog/Scripts/Dialog.cs

4
Assets/Fungus/Dialog/Scripts/Dialog.cs

@ -139,6 +139,10 @@ namespace Fungus.Script
if (glyphs.Count == 0)
{
if (onWritingComplete != null)
{
onWritingComplete();
}
yield break;
}

Loading…
Cancel
Save