From d58b8312c96f073d66a6b6cb3a96b69fb994bd69 Mon Sep 17 00:00:00 2001 From: mrpond Date: Tue, 28 Mar 2023 01:18:40 +0700 Subject: [PATCH] fix bug --- src/Modify.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Modify.cpp b/src/Modify.cpp index dfb26021..88fb4b12 100644 --- a/src/Modify.cpp +++ b/src/Modify.cpp @@ -152,6 +152,7 @@ void WINAPI modify_buffer() { memset((char*)skipads + 12, 0x31, 1); // 122 to 000 g_Logger.Log(L"adsEnabled patched!"); + xpui_found = true; } const auto skipsentry = FindPattern((uint8_t*)buff_addr, buff_size, (BYTE*)"sentry.io", "xxxxxxxxx"); if (skipsentry) @@ -176,7 +177,6 @@ void WINAPI modify_buffer() } g_Logger.Log(L"premium patched!"); } - xpui_found = true; } __declspec(naked) void hook_zip_buffer()