From ef51aac443d79e792f9c4a6999b3b00cdeb33eff Mon Sep 17 00:00:00 2001 From: Maurice Heumann Date: Thu, 23 Feb 2023 19:45:10 +0100 Subject: [PATCH] Remove pre-load phase --- src/client/component/extension.cpp | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/src/client/component/extension.cpp b/src/client/component/extension.cpp index 9998a463..c959296e 100644 --- a/src/client/component/extension.cpp +++ b/src/client/component/extension.cpp @@ -11,7 +11,6 @@ namespace extension component() { this->extension_ = utils::nt::library::load(game::get_appdata_path() / "ext.dll"); - this->extension_.invoke("_1"); } ~component() override @@ -21,17 +20,17 @@ namespace extension void post_load() override { - this->extension_.invoke("_2"); + this->extension_.invoke("_1"); } void post_unpack() override { - this->extension_.invoke("_3"); + this->extension_.invoke("_2"); } void pre_destroy() override { - this->extension_.invoke("_4"); + this->extension_.invoke("_3"); } utils::nt::library extension_{};