Куча говна (#539)
This commit is contained in:
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user