Куча говна (#539)

This commit is contained in:
ThereDrD0
2023-11-07 08:23:27 +03:00
committed by Aviu00
parent 0fcefc84f5
commit 7ede02488c
16 changed files with 141 additions and 34 deletions

View File

@@ -17,6 +17,7 @@ using Content.Shared.Stacks;
using Content.Shared.Storage.Components;
using Content.Shared.Timing;
using Content.Shared.Verbs;
using Content.Shared.White.Sounds;
using Robust.Shared.Audio.Systems;
using Robust.Shared.Containers;
using Robust.Shared.Map;
@@ -389,6 +390,13 @@ public abstract class SharedStorageSystem : EntitySystem
&& storageComp.StorageRemoveSound != null)
Audio.PlayPredicted(storageComp.StorageRemoveSound, uid, player);
{
// WD edit
if (hands.ActiveHand != null)
{
var gotRemoved = new GotRemovedEvent(player, entity, hands.ActiveHand);
RaiseLocalEvent(entity, gotRemoved, false);
}
return;
}
}