From 8db6f5236f5a2e34294101cf9a1ba1a27ee851d4 Mon Sep 17 00:00:00 2001 From: Deyan Dobromirov Date: Fri, 17 Nov 2023 14:35:14 +0200 Subject: [PATCH] Fixed: Comment typos --- lua/autorun/trackassembly_init.lua | 2 +- lua/trackassembly/trackasmlib.lua | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/lua/autorun/trackassembly_init.lua b/lua/autorun/trackassembly_init.lua index a3d9ae94..409e0065 100644 --- a/lua/autorun/trackassembly_init.lua +++ b/lua/autorun/trackassembly_init.lua @@ -85,7 +85,7 @@ local asmlib = trackasmlib; if(not asmlib) then -- Module present ------------ CONFIGURE ASMLIB ------------ asmlib.InitBase("track","assembly") -asmlib.SetOpVar("TOOL_VERSION","8.742") +asmlib.SetOpVar("TOOL_VERSION","8.743") asmlib.SetIndexes("V" ,1,2,3) asmlib.SetIndexes("A" ,1,2,3) asmlib.SetIndexes("WV",1,2,3) diff --git a/lua/trackassembly/trackasmlib.lua b/lua/trackassembly/trackasmlib.lua index 1e325595..8379bb6a 100644 --- a/lua/trackassembly/trackasmlib.lua +++ b/lua/trackassembly/trackasmlib.lua @@ -398,7 +398,7 @@ function GetOwner(oEnt) ows = oEnt.player; if(IsPlayer(ows)) then return ows else ows = nil end ows = oEnt.Owner; if(IsPlayer(ows)) then return ows else ows = nil end ows = oEnt.owner; if(IsPlayer(ows)) then return ows else ows = nil end - if(set) then -- Duplicator die functions are registered + if(set) then -- Duplicator the functions are registered set = set.GetCountUpdate; ows = (set.Args and set.Args[1] or nil) if(IsPlayer(ows)) then return ows else ows = nil end set = set.undo1; ows = (set.Args and set.Args[1] or nil) @@ -1804,7 +1804,7 @@ function SetComboBoxList(cPanel, sVar) end -- Copy the combo box content shown pItem.OnSelect = function(pnSelf, nInd, sVal, anyData) SetAsmConvar(nil, sVar, anyData) - end -- Apply the settinc to the specified variable + end -- Apply the setting to the specified variable for iD = 1, #tSet do local sI = tSet[iD] local sIco = ToIcon(sNam.."_"..sI:lower()) local sPrv = (sBase.."_"..sI:lower()) @@ -1832,7 +1832,7 @@ function SetNumSlider(cPanel, sVar, vDig, vMin, vMax, vDev) -- Read minimum value form the first available if(not IsHere(nMin)) then nMin, nDum = GetBorder(sKey) if(not IsHere(nMin)) then nMin = GetAsmConvar(sVar, "MIN") - if(not IsHere(nMin)) then -- Mininum bound is not located + if(not IsHere(nMin)) then -- Minimum bound is not located nMin = -mathAbs(2 * mathFloor(GetAsmConvar(sVar, "FLT"))) LogInstance("(L) Miss "..GetReport1(sKey)) else LogInstance("(L) Cvar "..GetReport2(sKey, nMin)) end