Storage warnings cleanup (#36196)

* Storage warnings cleanup

* Setting audio params on component
This commit is contained in:
J
2025-04-18 03:47:17 +00:00
committed by GitHub
parent 7d2ef2bd47
commit fa24960445
4 changed files with 10 additions and 10 deletions

View File

@@ -1,10 +1,9 @@
using System.Linq;
using Content.Server.Storage.Components;
using Content.Shared.Audio;
using Content.Shared.Storage.Components;
using Robust.Shared.Random;
using Robust.Shared.Audio.Systems;
using Robust.Shared.Containers;
using Robust.Shared.Random;
using System.Linq;
namespace Content.Server.Storage.EntitySystems;
@@ -50,6 +49,6 @@ public sealed class CursedEntityStorageSystem : EntitySystem
_entityStorage.AddToContents(entity, lockerEnt);
}
_audio.PlayPvs(component.CursedSound, uid, AudioHelpers.WithVariation(0.125f, _random));
_audio.PlayPvs(component.CursedSound, uid);
}
}