mirror of
https://github.com/weyne85/DCS-ExportScripts.git
synced 2025-10-29 16:58:18 +00:00
add global variables
ExportScript.lastExportTimeHI ExportScript.lastExportTimeLI delete global variables ExportScript.TickCount ExportScript.TickCountDAC
This commit is contained in:
parent
7ee857c7b2
commit
1dc1549126
@ -1,7 +1,7 @@
|
||||
-- Ikarus and D.A.C. Export Script
|
||||
-- Version 1.0.0 BETA
|
||||
-- Version 1.0.1
|
||||
--
|
||||
-- Copyright by Michael aka McMicha 2014
|
||||
-- Copyright by Michael aka McMicha 2014 - 2017
|
||||
-- Contact dcs2arcaze.micha@farbpigmente.org
|
||||
|
||||
|
||||
@ -19,6 +19,9 @@ ExportScript.PacketSizeDAC = {}
|
||||
ExportScript.SendStringsDAC = {}
|
||||
ExportScript.LastDataDAC = {}
|
||||
|
||||
ExportScript.lastExportTimeHI = 0
|
||||
ExportScript.lastExportTimeLI = 0
|
||||
|
||||
local PrevExport = {}
|
||||
PrevExport.LuaExportStart = LuaExportStart
|
||||
PrevExport.LuaExportStop = LuaExportStop
|
||||
@ -36,10 +39,6 @@ for i = 1, #ExportScript.Config.DAC, 1 do
|
||||
ExportScript.LastDataDAC[i] = {}
|
||||
end
|
||||
|
||||
-- Frame counter for non important data
|
||||
ExportScript.TickCount = 0
|
||||
ExportScript.TickCountDAC = 0
|
||||
|
||||
-- Found DCS or FC Module
|
||||
ExportScript.FoundDCSModule = false
|
||||
ExportScript.FoundFCModule = false
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user