]> git.smokeofanarchy.ru Git - space-station-14.git/commitdiff
fix weird behavior with storage HUD buttons (#27961)
authorNemanja <98561806+EmoGarbage404@users.noreply.github.com>
Mon, 13 May 2024 01:07:52 +0000 (21:07 -0400)
committerGitHub <noreply@github.com>
Mon, 13 May 2024 01:07:52 +0000 (11:07 +1000)
Content.Shared/Inventory/InventorySystem.Slots.cs

index e0f2a695576b7d167e6aa6bf3a734780f8466a38..19831278b0a51e698926befb873fbe6357ae2bc4 100644 (file)
@@ -15,7 +15,7 @@ public partial class InventorySystem : EntitySystem
     private void InitializeSlots()
     {
         SubscribeLocalEvent<InventoryComponent, ComponentInit>(OnInit);
-        SubscribeNetworkEvent<OpenSlotStorageNetworkMessage>(OnOpenSlotStorage);
+        SubscribeAllEvent<OpenSlotStorageNetworkMessage>(OnOpenSlotStorage);
 
         _vvm.GetTypeHandler<InventoryComponent>()
             .AddHandler(HandleViewVariablesSlots, ListViewVariablesSlots);