mirror of
https://github.com/Mr-X-GTA/YimMenu.git
synced 2025-01-05 17:13:29 +08:00
feat(Prot): Log if freemode script was recovered
This commit is contained in:
parent
33ac6e261d
commit
301be431e5
@ -26,6 +26,8 @@ namespace big
|
|||||||
{
|
{
|
||||||
if (result == eThreadState::killed && state == eThreadState::running && !freemode_terminated)
|
if (result == eThreadState::killed && state == eThreadState::running && !freemode_terminated)
|
||||||
{
|
{
|
||||||
|
LOG(INFO) << "Freemode script crashed, attempting recovery...";
|
||||||
|
|
||||||
result = eThreadState::running;
|
result = eThreadState::running;
|
||||||
|
|
||||||
memcpy(thread, struct_backup, sizeof(GtaThread));
|
memcpy(thread, struct_backup, sizeof(GtaThread));
|
||||||
|
Loading…
x
Reference in New Issue
Block a user