diff --git a/src/client/component/notifies.cpp b/src/client/component/notifies.cpp index 3babf96c..6bcc05e3 100644 --- a/src/client/component/notifies.cpp +++ b/src/client/component/notifies.cpp @@ -233,8 +233,7 @@ namespace notifies public: void post_unpack() override { - const auto a = utils::hook::assemble(vm_execute_stub); - utils::hook::jump(0x1405C90A5, a, true); + utils::hook::jump(0x1405C90A5, utils::hook::assemble(vm_execute_stub), true); scr_entity_damage_hook.create(0x1404BD2E0, scr_entity_damage_stub); }