aboutsummaryrefslogtreecommitdiff
path: root/ShiftOS_TheReturn/AudioManager.cs
diff options
context:
space:
mode:
authorMichael <[email protected]>2017-02-02 09:47:23 -0500
committerMichael <[email protected]>2017-02-02 09:47:23 -0500
commitbbe37edb68f9e7535216bff80ba3e6b16cbca398 (patch)
tree4382859eda0c253e17966159890f49208a41367f /ShiftOS_TheReturn/AudioManager.cs
parentd8978b860d950e3ccde3c8beecf8b88bdd4a34a8 (diff)
downloadshiftos_thereturn-bbe37edb68f9e7535216bff80ba3e6b16cbca398.tar.gz
shiftos_thereturn-bbe37edb68f9e7535216bff80ba3e6b16cbca398.tar.bz2
shiftos_thereturn-bbe37edb68f9e7535216bff80ba3e6b16cbca398.zip
Shiftnet, and audio fixes
Diffstat (limited to 'ShiftOS_TheReturn/AudioManager.cs')
-rw-r--r--ShiftOS_TheReturn/AudioManager.cs4
1 files changed, 4 insertions, 0 deletions
diff --git a/ShiftOS_TheReturn/AudioManager.cs b/ShiftOS_TheReturn/AudioManager.cs
index 4f90d76..d03da4c 100644
--- a/ShiftOS_TheReturn/AudioManager.cs
+++ b/ShiftOS_TheReturn/AudioManager.cs
@@ -29,6 +29,10 @@ namespace ShiftOS.Engine
};
var t = new Thread(() =>
{
+ SaveSystem.GameReady += () =>
+ {
+ _out.Volume = _provider.Volume;
+ };
Random rnd = new Random();
while(_running == true)
{