Remove inaccurate admin log when moving a held item (#32525)

Remove inaccurate admin log when switching held item
This commit is contained in:
Leon Friedrich
2024-10-14 17:05:40 +13:00
committed by GitHub
parent dd6433c44b
commit 30ada26315
5 changed files with 14 additions and 11 deletions

View File

@@ -130,9 +130,9 @@ namespace Content.Client.Hands.Systems
OnPlayerHandsAdded?.Invoke(hands);
}
public override void DoDrop(EntityUid uid, Hand hand, bool doDropInteraction = true, HandsComponent? hands = null)
public override void DoDrop(EntityUid uid, Hand hand, bool doDropInteraction = true, HandsComponent? hands = null, bool log = true)
{
base.DoDrop(uid, hand, doDropInteraction, hands);
base.DoDrop(uid, hand, doDropInteraction, hands, log);
if (TryComp(hand.HeldEntity, out SpriteComponent? sprite))
sprite.RenderOrder = EntityManager.CurrentTick.Value;