Remove the need to type '\' or '/' to send a console command

This commit is contained in:
FragsAreUs 2023-04-24 23:56:17 -04:00
parent ca8fe5849d
commit 6f5735b43d

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"))
{