fix for F-86 multiplayer export

add the variable ExportScript.NoLuaExportBeforeNextFrame to avoid errors during multiplayer export of F-86
This commit is contained in:
McMicha
2018-03-27 23:50:55 +02:00
parent 2e88b87126
commit b6009e5d33
3 changed files with 17 additions and 4 deletions

View File

@@ -79,7 +79,9 @@ function ExportScript.Tools.ProcessOutput()
local lMyInfo = LoGetSelfData()
if lMyInfo ~= nil then
if ExportScript.ModuleName ~= lMyInfo.Name then
ExportScript.Tools.SelectModule() -- point globals to Module functions and data.
ExportScript.NoLuaExportBeforeNextFrame = false
ExportScript.Tools.SelectModule() -- point globals to Module functions and data.
return
end
lMyInfo = nil
end