diff --git a/Facepunch.Steamworks/SteamInventory.cs b/Facepunch.Steamworks/SteamInventory.cs index 24cb978..1db284a 100644 --- a/Facepunch.Steamworks/SteamInventory.cs +++ b/Facepunch.Steamworks/SteamInventory.cs @@ -37,7 +37,7 @@ internal static void InstallEvents() { SteamInventoryFullUpdate_t.Install( x => InventoryUpdated( x ) ); SteamInventoryDefinitionUpdate_t.Install( x => LoadDefinitions() ); - SteamInventoryDefinitionUpdate_t.Install( x => OnServerDefinitionsUpdated(), true ); + SteamInventoryDefinitionUpdate_t.Install( x => LoadDefinitions(), true ); } private static void InventoryUpdated( SteamInventoryFullUpdate_t x ) @@ -50,7 +50,6 @@ private static void InventoryUpdated( SteamInventoryFullUpdate_t x ) public static event Action OnInventoryUpdated; public static event Action OnDefinitionsUpdated; - public static event Action OnServerDefinitionsUpdated; static void LoadDefinitions() {