Staff of Animation Fixes & Recharging (#37021)

This commit is contained in:
ActiveMammmoth
2025-04-29 15:40:49 -04:00
committed by GitHub
parent b9b854e179
commit a8ff930763
6 changed files with 49 additions and 9 deletions

View File

@@ -232,6 +232,9 @@ public sealed class NPCUtilitySystem : EntitySystem
{
if (_container.TryGetContainingContainer(targetUid, out var container))
{
if (container.Owner == owner)
return 0f;
if (TryComp<EntityStorageComponent>(container.Owner, out var storageComponent))
{
if (storageComponent is { Open: false } && _weldable.IsWelded(container.Owner))