]> git.smokeofanarchy.ru Git - space-station-14.git/commitdiff
Fix for inventory and belt not opening (#27179)
authorPlykiya <58439124+Plykiya@users.noreply.github.com>
Sat, 20 Apr 2024 18:24:52 +0000 (11:24 -0700)
committerGitHub <noreply@github.com>
Sat, 20 Apr 2024 18:24:52 +0000 (20:24 +0200)
Co-authored-by: Plykiya <plykiya@protonmail.com>
Content.Shared/Storage/EntitySystems/SharedStorageSystem.cs

index 0176999bbaa7cb23f268d6a3fb60f88b7a6dea80..2021dfe2deec4b7562f0ebb6a0ef1b2b0bd399d2 100644 (file)
@@ -111,8 +111,8 @@ public abstract class SharedStorageSystem : EntitySystem
         SubscribeLocalEvent<StorageComponent, GotReclaimedEvent>(OnReclaimed);
 
         CommandBinds.Builder
-            .Bind(ContentKeyFunctions.OpenBackpack, InputCmdHandler.FromDelegate(HandleOpenBackpack))
-            .Bind(ContentKeyFunctions.OpenBelt, InputCmdHandler.FromDelegate(HandleOpenBelt))
+            .Bind(ContentKeyFunctions.OpenBackpack, InputCmdHandler.FromDelegate(HandleOpenBackpack, handle: false))
+            .Bind(ContentKeyFunctions.OpenBelt, InputCmdHandler.FromDelegate(HandleOpenBelt, handle: false))
             .Register<SharedStorageSystem>();
 
         UpdatePrototypeCache();