diff --git a/src/scripting/vm/vmbuilder.cpp b/src/scripting/vm/vmbuilder.cpp index acb67e2f5..19d89fc6f 100644 --- a/src/scripting/vm/vmbuilder.cpp +++ b/src/scripting/vm/vmbuilder.cpp @@ -762,6 +762,7 @@ void FFunctionBuildList::Build() codesize += sfunc->CodeSize; } sfunc->PrintableName = item.PrintableName; + sfunc->Unsafe = ctx.Unsafe; } delete item.Code; if (dump != nullptr)