Revert "Storage TEST MERGE" (#21258)
This commit is contained in:
@@ -1,7 +1,10 @@
|
||||
using Content.Server.Storage.Components;
|
||||
using Content.Shared.Hands;
|
||||
using Content.Shared.Inventory;
|
||||
using Content.Shared.Stacks;
|
||||
using Robust.Shared.Map;
|
||||
using Robust.Shared.Physics.Components;
|
||||
using Robust.Shared.Player;
|
||||
using Robust.Shared.Timing;
|
||||
|
||||
namespace Content.Shared.Storage.EntitySystems;
|
||||
@@ -53,7 +56,7 @@ public sealed class MagnetPickupSystem : EntitySystem
|
||||
comp.NextScan += ScanDelay;
|
||||
|
||||
// No space
|
||||
if (!_storage.HasSpace((uid, storage)))
|
||||
if (storage.StorageUsed >= storage.StorageCapacityMax)
|
||||
continue;
|
||||
|
||||
if (!_inventory.TryGetContainingSlot(uid, out var slotDef))
|
||||
|
||||
Reference in New Issue
Block a user