Added audio.mute

This commit is contained in:
Aren 2017-02-07 16:17:06 +01:00
parent 82de84638a
commit 28f0cda0c5

View file

@ -119,6 +119,12 @@ namespace ShiftOS.Engine
AudioManager.SetVolume(volume);
return true;
}
[Command("mute", description = "Sets the volume of the system audio to 0")]
public static bool MuteAudio()
{
AudioManager.SetVolume(0);
return true;
}
}
[RequiresUpgrade("mud_fundamentals")]