mirror of
https://github.com/dvdvideo1234/TrackAssemblyTool.git
synced 2025-03-04 03:13:32 -05:00
Fixed: Exploding a NIL value when empty settings tor the timers are used #14
This commit is contained in:
parent
99d9da828e
commit
c612f29f80
@ -52,7 +52,7 @@ local gtInitLogs = {"*Init", false, 0}
|
||||
|
||||
------ CONFIGURE ASMLIB ------
|
||||
asmlib.InitBase("track","assembly")
|
||||
asmlib.SetOpVar("TOOL_VERSION","6.547")
|
||||
asmlib.SetOpVar("TOOL_VERSION","6.548")
|
||||
asmlib.SetIndexes("V" , "x", "y", "z")
|
||||
asmlib.SetIndexes("A" ,"pitch","yaw","roll")
|
||||
asmlib.SetIndexes("WV",1,2,3)
|
||||
|
@ -1944,7 +1944,7 @@ function CreateTable(sTable,defTab,bDelete,bReload)
|
||||
function self:TimerSetup(vTim)
|
||||
local qtCmd = self:GetCommand()
|
||||
local qtDef = self:GetDefinition()
|
||||
local sTm = (vTim and tostring(vTim or "") or qtDef.Timer)
|
||||
local sTm = tostring((vTim and vTim or qtDef.Timer) or "")
|
||||
local tTm = GetOpVar("OPSYM_REVISION"):Explode(sTm)
|
||||
tTm[1] = tostring(tTm[1] or "CQT") -- Timer mode
|
||||
tTm[2] = (tonumber(tTm[2]) or 0) -- Record life
|
||||
|
Loading…
Reference in New Issue
Block a user