From 9a974eda8bc646500ed434251f41c3c18a1d25aa Mon Sep 17 00:00:00 2001 From: Himusoka Date: Mon, 23 Apr 2018 15:11:54 +0200 Subject: [PATCH] fixed delay etc. --- Assets/Scripts/AudioControl.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Assets/Scripts/AudioControl.cs b/Assets/Scripts/AudioControl.cs index 67bdb03..4469bde 100644 --- a/Assets/Scripts/AudioControl.cs +++ b/Assets/Scripts/AudioControl.cs @@ -13,7 +13,7 @@ public class AudioControl : MonoBehaviour public enum Sfx { shoot, explosion, mobattack }; - private const float lvlbgm = 37.879f; + private const float lvlbgm = 6.79f; private const float gobgm = 14.406f; private const float loopdelay = 0.05f; private bool menu; @@ -49,7 +49,7 @@ public class AudioControl : MonoBehaviour public void LevelBgm() { - maintheme.PlayDelayed(1.3f); + maintheme.Play(); } public void SfxPlay(int sound)