Storage warnings cleanup (#36196)
* Storage warnings cleanup * Setting audio params on component
This commit is contained in:
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user