Fixed script deletion and OnDestroy never being called

This commit is contained in:
Kah Wei 2022-10-31 15:19:57 +08:00
parent b04565c9dc
commit 1d2b23d762
1 changed files with 1 additions and 1 deletions

View File

@ -54,7 +54,7 @@ namespace SHADE
/* System Routine Functions - FrameCleanUpRoutine */
/*-----------------------------------------------------------------------------------*/
SHScriptEngine::FrameCleanUpRoutine::FrameCleanUpRoutine()
: SHSystemRoutine("Script Engine Frame Clean Up", false)
: SHSystemRoutine("Script Engine Frame Clean Up", true)
{}
void SHScriptEngine::FrameCleanUpRoutine::Execute(double) noexcept
{