Keep console hook
This commit is contained in:
parent
fb29a28f1c
commit
9e7d923028
@ -164,7 +164,7 @@ namespace console
|
|||||||
this->console_runner_ = utils::thread::create_named_thread("Console IO", [this]
|
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);
|
sys_create_console_hook.create(0x1423339C0_g, sys_create_console_stub);
|
||||||
|
|
||||||
game::Sys_ShowConsole();
|
game::Sys_ShowConsole();
|
||||||
|
Loading…
Reference in New Issue
Block a user