Browse Source

Merge pull request #711 from stevehalliwell/Fix_710

Fix #710
master
Steve Halliwell 6 years ago committed by GitHub
parent
commit
7a040478de
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      Assets/Fungus/Scripts/Components/WriterAudio.cs

2
Assets/Fungus/Scripts/Components/WriterAudio.cs

@ -228,7 +228,7 @@ namespace Fungus
{
if (nextBeepTime < Time.realtimeSinceStartup)
{
targetAudioSource.clip = beepSounds[Random.Range(0, beepSounds.Count - 1)];
targetAudioSource.clip = beepSounds[Random.Range(0, beepSounds.Count)];
if (targetAudioSource.clip != null)
{

Loading…
Cancel
Save