diff --git a/module/src/runtime.cpp b/module/src/runtime.cpp index 4e55732..0aefb38 100644 --- a/module/src/runtime.cpp +++ b/module/src/runtime.cpp @@ -35,7 +35,7 @@ void JSBytecodeRuntime::ProcessClientFile(alt::IResource* resource, alt::IPackag if(!result) return; // Compile the extra files - alt::config::Node& config = resource->GetConfig(); + alt::config::Node config = resource->GetConfig(); alt::config::Node& node = config["extra-compile-files"]; if(node && node.IsList()) {