Merge pull request #13 from mjkzy/changes

This commit is contained in:
fed 2021-09-02 14:01:50 +02:00 committed by GitHub
commit 3d633ce35c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -34,6 +34,10 @@ namespace patches
// Disable battle net popup
utils::hook::set(game::base_address + 0xBE7F83C, true);
// Allow kbam input when gamepad is enabled
utils::hook::nop(game::base_address + 0x3D2F8E, 2);
utils::hook::nop(game::base_address + 0x3D0C9C, 6);
scheduler::once([]()
{
if (game::Menu_IsMenuOpenAndVisible(0, "bnet_error_popup"))