Fix DynOS lvl crash

This commit is contained in:
Agent X 2023-12-05 19:36:47 -05:00
parent 99e53b9f80
commit 7368270986
2 changed files with 1 additions and 2 deletions

View file

@ -92,7 +92,6 @@ void DynOS_Lvl_Activate(s32 modIndex, const SysPath &aFilename, const char *aLev
auto& newScriptNode = newScripts[newScripts.Count() - 1];
const void* originalScript = DynOS_Builtin_ScriptPtr_GetFromName(newScriptNode->mName.begin());
if (originalScript == NULL) {
PrintError("Could not find level to override: '%s'", newScriptNode->mName.begin());
return;
}