Keep console hook

This commit is contained in:
momo5502 2022-09-16 20:54:48 +02:00
parent fb29a28f1c
commit 9e7d923028

View File

@ -164,7 +164,7 @@ namespace console
this->console_runner_ = utils::thread::create_named_thread("Console IO", [this]
{
{
utils::hook::detour sys_create_console_hook;
static utils::hook::detour sys_create_console_hook;
sys_create_console_hook.create(0x1423339C0_g, sys_create_console_stub);
game::Sys_ShowConsole();