diff --git a/src/client/main.cpp b/src/client/main.cpp index 1c1a06bf..5651eacd 100644 --- a/src/client/main.cpp +++ b/src/client/main.cpp @@ -51,7 +51,7 @@ namespace patch_steam_import("SteamAPI_GetHSteamPipe"); patch_steam_import("SteamAPI_Init"); patch_steam_import("SteamAPI_RestartAppIfNecessary"); - + utils::hook::set(game.get_iat_entry("kernel32.dll", "ExitProcess"), exit_hook); }