Audio System Rejig (#9635)

This commit is contained in:
Leon Friedrich
2022-07-29 14:13:12 +12:00
committed by GitHub
parent 05ee746efb
commit c7ad6b709e
191 changed files with 211 additions and 540 deletions

View File

@@ -1,5 +1,4 @@
using Content.Shared.Shuttles.Systems;
using Content.Shared.Sound;
using Robust.Shared.Audio;
using Robust.Shared.Map;
@@ -41,11 +40,7 @@ public sealed class FTLComponent : Component
[ViewVariables(VVAccess.ReadWrite), DataField("soundTravel")]
public SoundSpecifier? TravelSound = new SoundPathSpecifier("/Audio/Effects/Shuttle/hyperspace_progress.ogg")
{
Params =
{
Volume = -10,
Loop = true,
}
Params = AudioParams.Default.WithVolume(-3f).WithLoop(true)
};
public IPlayingAudioStream? TravelStream;