Skip to content

Commit d58b831

Browse files
author
mrpond
committed
fix bug
1 parent bfeb846 commit d58b831

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Modify.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -152,6 +152,7 @@ void WINAPI modify_buffer()
152152
{
153153
memset((char*)skipads + 12, 0x31, 1); // 122 to 000
154154
g_Logger.Log(L"adsEnabled patched!");
155+
xpui_found = true;
155156
}
156157
const auto skipsentry = FindPattern((uint8_t*)buff_addr, buff_size, (BYTE*)"sentry.io", "xxxxxxxxx");
157158
if (skipsentry)
@@ -176,7 +177,6 @@ void WINAPI modify_buffer()
176177
}
177178
g_Logger.Log(L"premium patched!");
178179
}
179-
xpui_found = true;
180180
}
181181

182182
__declspec(naked) void hook_zip_buffer()

0 commit comments

Comments
 (0)