Fixed koalabox globals

This commit is contained in:
acidicoala
2023-03-11 21:41:59 +04:00
parent e1987515d8
commit 3c707f2474

View File

@@ -4,6 +4,7 @@
#include <core/globals.hpp>
#include <core/paths.hpp>
#include <common/steamclient_exports.hpp>
#include <koalabox/globals.hpp>
#include <koalabox/dll_monitor.hpp>
#include <koalabox/logger.hpp>
#include <koalabox/hook.hpp>
@@ -79,6 +80,8 @@ namespace smoke_api {
try {
DisableThreadLibraryCalls(module_handle);
koalabox::globals::init_globals(module_handle, PROJECT_NAME);
globals::smokeapi_handle = module_handle;
config::init_config();