fixed weird delay glitches
This commit is contained in:
parent
ec24afb667
commit
c82db097c6
|
@ -76,7 +76,8 @@ public class ScriptedDialogueTrigger : MonoBehaviour
|
||||||
if (elapsed > _durations[idx])
|
if (elapsed > _durations[idx])
|
||||||
{
|
{
|
||||||
elapsed = 0;
|
elapsed = 0;
|
||||||
PlayLine(_keys[idx++]);
|
idx++;
|
||||||
|
PlayLine(_keys[idx]);
|
||||||
}
|
}
|
||||||
|
|
||||||
yield return null;
|
yield return null;
|
||||||
|
|
Loading…
Reference in New Issue