Fix (#513)
* fix: Ботинки клоуна сново работают * fix: Световое копье теперь исчезает если его передать
This commit is contained in:
16
Content.Server/_White/Animations/WaddleAnimationSystem.cs
Normal file
16
Content.Server/_White/Animations/WaddleAnimationSystem.cs
Normal file
@@ -0,0 +1,16 @@
|
||||
using Content.Shared._White.Animations;
|
||||
|
||||
namespace Content.Server._White.Animations;
|
||||
|
||||
public sealed class WaddleAnimationSystem : SharedWaddledAnimationSystem
|
||||
{
|
||||
protected override void PlayAnimation(EntityUid user)
|
||||
{
|
||||
RaiseNetworkEvent(new StartedWaddlingEvent(GetNetEntity(user)));
|
||||
}
|
||||
|
||||
protected override void StopAnimation(EntityUid user)
|
||||
{
|
||||
RaiseNetworkEvent(new StoppedWaddlingEvent(GetNetEntity(user)));
|
||||
}
|
||||
}
|
||||
@@ -69,12 +69,18 @@ public sealed class OfferItemSystem : SharedOfferItemSystem
|
||||
|
||||
_popup.PopupEntity(Loc.GetString("offer-item-give",
|
||||
("item", Identity.Entity(offerItem.Item.Value, EntityManager)),
|
||||
("target", Identity.Entity(uid, EntityManager))), component.Target.Value, component.Target.Value);
|
||||
("target", Identity.Entity(uid, EntityManager))),
|
||||
component.Target.Value,
|
||||
component.Target.Value);
|
||||
_popup.PopupEntity(Loc.GetString("offer-item-give-other",
|
||||
("user", Identity.Entity(component.Target.Value, EntityManager)),
|
||||
("item", Identity.Entity(offerItem.Item.Value, EntityManager)),
|
||||
("target", Identity.Entity(uid, EntityManager)))
|
||||
, component.Target.Value, Filter.PvsExcept(component.Target.Value, entityManager: EntityManager), true);
|
||||
("target", Identity.Entity(uid, EntityManager))),
|
||||
component.Target.Value,
|
||||
Filter.PvsExcept(component.Target.Value, entityManager: EntityManager),
|
||||
true);
|
||||
|
||||
RaiseLocalEvent(offerItem.Item.Value, new HandedEvent(component.Target.Value, uid));
|
||||
}
|
||||
|
||||
offerItem.Item = null;
|
||||
|
||||
Reference in New Issue
Block a user