feat(Prot): Log if freemode script was recovered

This commit is contained in:
Yimura 2021-11-08 13:01:49 +01:00
parent a152427ae7
commit 6987212fb8
No known key found for this signature in database
GPG Key ID: 3D8FF4397E768682

View File

@ -26,6 +26,8 @@ namespace big
{
if (result == eThreadState::killed && state == eThreadState::running && !freemode_terminated)
{
LOG(INFO) << "Freemode script crashed, attempting recovery...";
result = eThreadState::running;
memcpy(thread, struct_backup, sizeof(GtaThread));