diff --git a/lua/autorun/trackassembly_init.lua b/lua/autorun/trackassembly_init.lua index 6c584032..24d71e91 100644 --- a/lua/autorun/trackassembly_init.lua +++ b/lua/autorun/trackassembly_init.lua @@ -36,7 +36,7 @@ local asmlib = trackasmlib ------ CONFIGURE ASMLIB ------ asmlib.InitBase("track","assembly") -asmlib.SetOpVar("TOOL_VERSION","5.397") +asmlib.SetOpVar("TOOL_VERSION","5.398") asmlib.SetIndexes("V",1,2,3) asmlib.SetIndexes("A",1,2,3) asmlib.SetIndexes("S",4,5,6,7) diff --git a/lua/weapons/gmod_tool/stools/trackassembly.lua b/lua/weapons/gmod_tool/stools/trackassembly.lua index e8aed804..fe657139 100644 --- a/lua/weapons/gmod_tool/stools/trackassembly.lua +++ b/lua/weapons/gmod_tool/stools/trackassembly.lua @@ -845,8 +845,8 @@ end function TOOL:Think() local model = self:GetModel() + local wormo = self:GetWorkingMode() -- Synchronize the data between the working modes if(utilIsValidModel(model)) then -- Chech model validation - local wmo = self:GetWorkingMode() -- Synchronize the data between the working modes local ply = self:GetOwner() local gho = self.GhostEntity if(self:GetGhostHolder()) then