fix some UB

This commit is contained in:
RSDuck
2023-08-01 03:00:41 +02:00
parent 3efbf1b813
commit 7731f66e55
4 changed files with 7 additions and 4 deletions

View File

@ -451,6 +451,7 @@ void UnloadCheats()
{
delete CheatFile;
CheatFile = nullptr;
AREngine::SetCodeFile(nullptr);
}
}