Merge pull request #594 from FragsAreUs/main

Remove the need to type '\' or '/' to send a console command
This commit is contained in:
Maurice Heumann 2023-04-25 07:53:59 +02:00 committed by GitHub
commit 6cba697f49

View File

@ -274,6 +274,7 @@ namespace console
if (!game::is_server())
{
utils::hook::set<uint8_t>(0x14133D2FE_g, 0xEB); // Always enable ingame console
utils::hook::jump(0x141344E44_g, 0x141344E2E_g); // Remove the need to type '\' or '/' to send a console command
if (utils::nt::is_wine() && !utils::flags::has_flag("console"))
{