Toast when increasing security level
This commit is contained in:
parent
be8ee24528
commit
e0bdf9a23a
@ -90,6 +90,7 @@ namespace Components
|
||||
{
|
||||
#ifdef DEBUG_DETECTIONS
|
||||
MessageBoxA(0, "Check the log for more information!", "AntiCheat triggered", MB_ICONERROR);
|
||||
ExitProcess(0xFFFFFFFF);
|
||||
#else
|
||||
Utils::Hook::Set<BYTE>(0x41BA2C, 0xEB);
|
||||
#endif
|
||||
|
@ -45,6 +45,7 @@ namespace Components
|
||||
}
|
||||
else
|
||||
{
|
||||
Toast::Show("cardicon_locked", "Success", fmt::sprintf("Your new security level is %d", Auth::GetSecurityLevel()), 5000);
|
||||
Command::Execute(Auth::TokenContainer.command, false);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user