]> git.smokeofanarchy.ru Git - space-station-14.git/commitdiff
Allow AreaInsert pickups for one item (#32153)
authorDvir <39403717+dvir001@users.noreply.github.com>
Tue, 24 Sep 2024 14:23:48 +0000 (17:23 +0300)
committerGitHub <noreply@github.com>
Tue, 24 Sep 2024 14:23:48 +0000 (16:23 +0200)
Update SharedStorageSystem.cs

Content.Shared/Storage/EntitySystems/SharedStorageSystem.cs

index d6fde292a14786f9338df044ad1ea3c8021cc5b0..ca4b788867f5340c7f7c8cdc3f6f6120faeaaa11 100644 (file)
@@ -453,7 +453,7 @@ public abstract class SharedStorageSystem : EntitySystem
             }
 
             //If there's only one then let's be generous
-            if (_entList.Count > 1)
+            if (_entList.Count >= 1)
             {
                 var doAfterArgs = new DoAfterArgs(EntityManager, args.User, delay, new AreaPickupDoAfterEvent(GetNetEntityList(_entList)), uid, target: uid)
                 {