Fixed koalageddon mode

This commit is contained in:
acidicoala
2023-01-01 19:59:44 +03:00
parent 0d1ae0fd29
commit 71506bd03c
9 changed files with 301 additions and 151 deletions

View File

@@ -88,12 +88,16 @@ namespace smoke_api {
if (is_hook_mode) {
hook::init(true);
#ifdef _WIN64
init_hook_mode();
#else
// TODO: Check if it's steam from valve
if (util::strings_are_equal(exe_name, "steam.exe") && !util::is_x64()) {
if (util::strings_are_equal(exe_name, "steam.exe")) {
koalageddon::init();
} else {
init_hook_mode();
}
#endif
} else {
init_proxy_mode();
}