mirror of
https://github.com/weyne85/DCS-ExportScripts.git
synced 2025-10-29 16:58:18 +00:00
fix WINWING compatibility
修复与成都造(WINWING)灯光同步的兼容性
This commit is contained in:
parent
4cb1d4699c
commit
ae5c108b4f
@ -30,6 +30,8 @@ PrevExport.LuaExportStart = LuaExportStart
|
|||||||
PrevExport.LuaExportStop = LuaExportStop
|
PrevExport.LuaExportStop = LuaExportStop
|
||||||
PrevExport.LuaExportBeforeNextFrame = LuaExportBeforeNextFrame
|
PrevExport.LuaExportBeforeNextFrame = LuaExportBeforeNextFrame
|
||||||
PrevExport.LuaExportAfterNextFrame = LuaExportAfterNextFrame
|
PrevExport.LuaExportAfterNextFrame = LuaExportAfterNextFrame
|
||||||
|
--fix wwt
|
||||||
|
PrevExport.LuaExportActivityNextEvent = LuaExportActivityNextEvent
|
||||||
|
|
||||||
dofile(lfs.writedir()..[[Scripts\DCS-ExportScript\Config.lua]])
|
dofile(lfs.writedir()..[[Scripts\DCS-ExportScript\Config.lua]])
|
||||||
ExportScript.utf8 = dofile(lfs.writedir()..[[Scripts\DCS-ExportScript\lib\utf8.lua]])
|
ExportScript.utf8 = dofile(lfs.writedir()..[[Scripts\DCS-ExportScript\lib\utf8.lua]])
|
||||||
@ -134,6 +136,10 @@ function LuaExportActivityNextEvent(t)
|
|||||||
|
|
||||||
tNext = tNext + ExportScript.Config.ExportInterval
|
tNext = tNext + ExportScript.Config.ExportInterval
|
||||||
|
|
||||||
|
if PrevExport.LuaExportActivityNextEvent then
|
||||||
|
tNext=PrevExport.LuaExportActivityNextEvent(t)
|
||||||
|
end
|
||||||
|
|
||||||
return tNext
|
return tNext
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user