Skip to content

Commit

Permalink
Updating with review comments
Browse files Browse the repository at this point in the history
  • Loading branch information
keveleigh committed Nov 23, 2016
1 parent 4e6c2f4 commit db37f6e
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -403,7 +403,7 @@ public bool IsSpeaking()
/// </summary>
public void StopSpeaking()
{
if (audioSource != null && audioSource.isPlaying)
if (IsSpeaking())
{
audioSource.Stop();
}
Expand Down

0 comments on commit db37f6e

Please sign in to comment.