From 8b57c4794ac3a200b088f710aa73b55e57874860 Mon Sep 17 00:00:00 2001 From: BrentVL-1952840 <70229620+Brentdevent@users.noreply.github.com> Date: Sat, 4 Mar 2023 17:05:55 +0100 Subject: [PATCH] Update loot --- src/client/component/loot.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/client/component/loot.cpp b/src/client/component/loot.cpp index 928abbe6..b675cc62 100644 --- a/src/client/component/loot.cpp +++ b/src/client/component/loot.cpp @@ -62,9 +62,9 @@ namespace loot dvar_cg_unlockall_loot = game::Dvar_RegisterBool(game::Dvar_GenerateHash("cg_unlockall_loot"), "cg_unlockall_loot", false, (game::dvarFlags_e)0x0, "Unlocks blackmarket loot"); dvar_cg_unlockall_loot->debugName = "cg_unlockall_loot"; - loot_getitemquantity_hook.create(0x141E82C90_g, loot_getitemquantity_stub); - liveinventory_getitemquantity_hook.create(0x141E090C0_g, liveinventory_getitemquantity_stub); - liveinventory_areextraslotspurchased_hook.create(0x141E089E0_g, liveinventory_areextraslotspurchased_stub); + loot_getitemquantity_hook.create(0x141E82C00_g, loot_getitemquantity_stub); + liveinventory_getitemquantity_hook.create(0x141E09030_g, liveinventory_getitemquantity_stub); + liveinventory_areextraslotspurchased_hook.create(0x141E08950_g, liveinventory_areextraslotspurchased_stub); scheduler::once([]() { if (dvar_cg_unlockall_loot->current.enabled) @@ -76,4 +76,4 @@ namespace loot }; }; -REGISTER_COMPONENT(loot::component) +REGISTER_COMPONENT_WORKING(loot::component)