]> git.smokeofanarchy.ru Git - space-station-14.git/commitdiff
Fix saving prefered quick store item locations (#32480)
authorCallmore <22885888+Callmore@users.noreply.github.com>
Thu, 17 Oct 2024 04:00:52 +0000 (05:00 +0100)
committerGitHub <noreply@github.com>
Thu, 17 Oct 2024 04:00:52 +0000 (23:00 -0500)
this was just copypasted without any context wasn't it

Content.Shared/Storage/EntitySystems/SharedStorageSystem.cs

index 5c1e2bcfad1966db1f86786e5b2cc9177f722ca7..fee4c1a0fb6eaeb3ddee207668b3231181510ed6 100644 (file)
@@ -666,7 +666,7 @@ public abstract class SharedStorageSystem : EntitySystem
 
     private void OnSaveItemLocation(StorageSaveItemLocationEvent msg, EntitySessionEventArgs args)
     {
-        if (!ValidateInput(args, msg.Storage, msg.Item, out var player, out var storage, out var item, held: true))
+        if (!ValidateInput(args, msg.Storage, msg.Item, out var player, out var storage, out var item))
             return;
 
         SaveItemLocation(storage!, item.Owner);