aboutsummaryrefslogtreecommitdiff
path: root/ShiftOS_TheReturn/AudioManager.cs
diff options
context:
space:
mode:
Diffstat (limited to 'ShiftOS_TheReturn/AudioManager.cs')
-rw-r--r--ShiftOS_TheReturn/AudioManager.cs6
1 files changed, 5 insertions, 1 deletions
diff --git a/ShiftOS_TheReturn/AudioManager.cs b/ShiftOS_TheReturn/AudioManager.cs
index 1ea4575..db3ddc9 100644
--- a/ShiftOS_TheReturn/AudioManager.cs
+++ b/ShiftOS_TheReturn/AudioManager.cs
@@ -1,4 +1,6 @@
-using System;
+#define NOSOUND
+
+using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
@@ -18,6 +20,7 @@ namespace ShiftOS.Engine
public static void Init(IAudioProvider _p)
{
+#if !NOSOUND
_provider = _p;
AppearanceManager.OnExit += () =>
{
@@ -59,6 +62,7 @@ namespace ShiftOS.Engine
});
t.IsBackground = true;
t.Start();
+#endif
}
public static void SetVolume(float volume)