Makes flares quieter (#27521)

* light

* flares quieter
This commit is contained in:
T-Stalker
2024-04-30 03:49:35 -03:00
committed by GitHub
parent a7bf9583dd
commit d9d36b050a
4 changed files with 9 additions and 4 deletions

View File

@@ -52,7 +52,7 @@ public sealed class ExpendableLightSystem : VisualizerSystem<ExpendableLightComp
case ExpendableLightState.Lit:
_audioSystem.Stop(comp.PlayingStream);
comp.PlayingStream = _audioSystem.PlayPvs(
comp.LoopedSound, uid, SharedExpendableLightComponent.LoopedSoundParams)?.Entity;
comp.LoopedSound, uid)?.Entity;
if (args.Sprite.LayerMapTryGet(ExpendableLightVisualLayers.Overlay, out var layerIdx, true))
{