fix weird behavior with storage HUD buttons (#27961)
This commit is contained in:
@@ -15,7 +15,7 @@ public partial class InventorySystem : EntitySystem
|
|||||||
private void InitializeSlots()
|
private void InitializeSlots()
|
||||||
{
|
{
|
||||||
SubscribeLocalEvent<InventoryComponent, ComponentInit>(OnInit);
|
SubscribeLocalEvent<InventoryComponent, ComponentInit>(OnInit);
|
||||||
SubscribeNetworkEvent<OpenSlotStorageNetworkMessage>(OnOpenSlotStorage);
|
SubscribeAllEvent<OpenSlotStorageNetworkMessage>(OnOpenSlotStorage);
|
||||||
|
|
||||||
_vvm.GetTypeHandler<InventoryComponent>()
|
_vvm.GetTypeHandler<InventoryComponent>()
|
||||||
.AddHandler(HandleViewVariablesSlots, ListViewVariablesSlots);
|
.AddHandler(HandleViewVariablesSlots, ListViewVariablesSlots);
|
||||||
|
|||||||
Reference in New Issue
Block a user