From a646b5ce278bed62870ddda419da7279c1e18590 Mon Sep 17 00:00:00 2001 From: Chris Gregan Date: Sun, 30 Dec 2018 00:45:20 +0000 Subject: [PATCH] Fixed #717 Control Audio > Play Loop volume always 1 --- Assets/Fungus/Scripts/Commands/ControlAudio.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Assets/Fungus/Scripts/Commands/ControlAudio.cs b/Assets/Fungus/Scripts/Commands/ControlAudio.cs index 0ee5b000..8a5ad5fe 100644 --- a/Assets/Fungus/Scripts/Commands/ControlAudio.cs +++ b/Assets/Fungus/Scripts/Commands/ControlAudio.cs @@ -134,7 +134,7 @@ namespace Fungus } else { - _audioSource.Value.volume = 1; + _audioSource.Value.volume = endVolume; _audioSource.Value.loop = true; _audioSource.Value.GetComponent().Play(); }