Bugfix
Small bug prevented text from showing without sound
This commit is contained in:
parent
9f9dedba98
commit
505584b91e
3 changed files with 4 additions and 5 deletions
|
@ -216,7 +216,7 @@ namespace SimpleTools.DialogueSystem {
|
|||
if (Time.unscaledTime - lastDialogueSound > timeUntilNextDialogueSound) {
|
||||
timeUntilNextDialogueSound = UnityEngine.Random.Range(0.02f, 0.08f);
|
||||
lastDialogueSound = Time.unscaledTime;
|
||||
if (audioSourceGroup != null)
|
||||
if (audioSourceGroup[0] != string.Empty)
|
||||
AudioManager.AudioManager.instance.PlayRandomSound(audioSourceGroup);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue