From bed5e8fd7a675697b10c9d22d65f9fd5d331e946 Mon Sep 17 00:00:00 2001 From: Princess Cheeseballs <66055347+Princess-Cheeseballs@users.noreply.github.com> Date: Fri, 10 Oct 2025 17:21:05 -0700 Subject: [PATCH] Very small Shared Storage Optimization (#39092) Mildly cheesed Co-authored-by: Princess Cheeseballs <66055347+Pronana@users.noreply.github.com> --- Content.Shared/Storage/EntitySystems/SharedStorageSystem.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Content.Shared/Storage/EntitySystems/SharedStorageSystem.cs b/Content.Shared/Storage/EntitySystems/SharedStorageSystem.cs index e4f0aa8b23..fcda7eb0ac 100644 --- a/Content.Shared/Storage/EntitySystems/SharedStorageSystem.cs +++ b/Content.Shared/Storage/EntitySystems/SharedStorageSystem.cs @@ -587,7 +587,7 @@ public abstract class SharedStorageSystem : EntitySystem } _entList.Add(entity); - delay += itemSize.Weight * AreaInsertDelayPerItem; + delay += itemSize.Weight; if (_entList.Count >= StorageComponent.AreaPickupLimit) break; @@ -596,7 +596,7 @@ public abstract class SharedStorageSystem : EntitySystem //If there's only one then let's be generous if (_entList.Count >= 1) { - var doAfterArgs = new DoAfterArgs(EntityManager, args.User, delay, new AreaPickupDoAfterEvent(GetNetEntityList(_entList)), uid, target: uid) + var doAfterArgs = new DoAfterArgs(EntityManager, args.User, delay * AreaInsertDelayPerItem, new AreaPickupDoAfterEvent(GetNetEntityList(_entList)), uid, target: uid) { BreakOnDamage = true, BreakOnMove = true,