mirror of
https://github.com/acidicoala/SmokeAPI.git
synced 2025-12-05 21:15:39 -05:00
Fixed koalabox globals
This commit is contained in:
@@ -4,6 +4,7 @@
|
|||||||
#include <core/globals.hpp>
|
#include <core/globals.hpp>
|
||||||
#include <core/paths.hpp>
|
#include <core/paths.hpp>
|
||||||
#include <common/steamclient_exports.hpp>
|
#include <common/steamclient_exports.hpp>
|
||||||
|
#include <koalabox/globals.hpp>
|
||||||
#include <koalabox/dll_monitor.hpp>
|
#include <koalabox/dll_monitor.hpp>
|
||||||
#include <koalabox/logger.hpp>
|
#include <koalabox/logger.hpp>
|
||||||
#include <koalabox/hook.hpp>
|
#include <koalabox/hook.hpp>
|
||||||
@@ -79,6 +80,8 @@ namespace smoke_api {
|
|||||||
try {
|
try {
|
||||||
DisableThreadLibraryCalls(module_handle);
|
DisableThreadLibraryCalls(module_handle);
|
||||||
|
|
||||||
|
koalabox::globals::init_globals(module_handle, PROJECT_NAME);
|
||||||
|
|
||||||
globals::smokeapi_handle = module_handle;
|
globals::smokeapi_handle = module_handle;
|
||||||
|
|
||||||
config::init_config();
|
config::init_config();
|
||||||
|
|||||||
Reference in New Issue
Block a user