]> git.smokeofanarchy.ru Git - space-station-14.git/commitdiff
Revert "fuckyou (#14960)" (#15006)
authormetalgearsloth <31366439+metalgearsloth@users.noreply.github.com>
Fri, 31 Mar 2023 04:44:39 +0000 (15:44 +1100)
committerGitHub <noreply@github.com>
Fri, 31 Mar 2023 04:44:39 +0000 (22:44 -0600)
* Revert "fuckyou (#14960)"

This reverts commit e29c54d64e595f3ea6b96d0de8693f1a7afb8966.

* Use volume for it

Content.Server/Shuttles/Systems/ShuttleSystem.FasterThanLight.cs
Resources/Audio/Effects/Shuttle/hyperspace_begin.ogg
Resources/Audio/Effects/Shuttle/hyperspace_end.ogg

index 6da7c6558086f3b650af4f8d0c1232069d786340..534220854699deb723833b90afe789cfce1eaf0d 100644 (file)
@@ -43,9 +43,15 @@ public sealed partial class ShuttleSystem
 
     // I'm too lazy to make CVars.
 
-    private readonly SoundSpecifier _startupSound = new SoundPathSpecifier("/Audio/Effects/Shuttle/hyperspace_begin.ogg");
+    private readonly SoundSpecifier _startupSound = new SoundPathSpecifier("/Audio/Effects/Shuttle/hyperspace_begin.ogg")
+    {
+        Params = AudioParams.Default.WithVolume(-5f),
+    };
     // private SoundSpecifier _travelSound = new SoundPathSpecifier();
-    private readonly SoundSpecifier _arrivalSound = new SoundPathSpecifier("/Audio/Effects/Shuttle/hyperspace_end.ogg");
+    private readonly SoundSpecifier _arrivalSound = new SoundPathSpecifier("/Audio/Effects/Shuttle/hyperspace_end.ogg")
+    {
+        Params = AudioParams.Default.WithVolume(-5f),
+    };
 
     private readonly TimeSpan _hyperspaceKnockdownTime = TimeSpan.FromSeconds(5);
 
index ccd50d7736a201adf77f92df836e484e09c1ac8f..225e2d988209af5124557c97412eddc2d46541fe 100644 (file)
Binary files a/Resources/Audio/Effects/Shuttle/hyperspace_begin.ogg and b/Resources/Audio/Effects/Shuttle/hyperspace_begin.ogg differ
index a1cad453b8b4aff02203d6ad519c03e0d54bc549..64fb5214a962ae60f428875e2d7ab41bbc985319 100644 (file)
Binary files a/Resources/Audio/Effects/Shuttle/hyperspace_end.ogg and b/Resources/Audio/Effects/Shuttle/hyperspace_end.ogg differ