aboutsummaryrefslogtreecommitdiff
path: root/ShiftOS_TheReturn
diff options
context:
space:
mode:
Diffstat (limited to 'ShiftOS_TheReturn')
-rw-r--r--ShiftOS_TheReturn/Commands.cs6
1 files changed, 6 insertions, 0 deletions
diff --git a/ShiftOS_TheReturn/Commands.cs b/ShiftOS_TheReturn/Commands.cs
index 2e70151..69bcfa3 100644
--- a/ShiftOS_TheReturn/Commands.cs
+++ b/ShiftOS_TheReturn/Commands.cs
@@ -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")]