Fix function override
@@ -276,6 +276,8 @@ void FunctionOverride::HandleOverridenFunction(RED4ext::IScriptable* apContext,
pAllocator->Free(pInstance);
}
+ apFrame->code++; // skip ParamEnd
+
const auto& calls = context.Calls;
for (const auto& call : calls)
{
