From cf0c0371b6c668ac7dfb257d21db5abdfc110218 Mon Sep 17 00:00:00 2001 From: Deyan Dobromirov Date: Mon, 2 Oct 2017 23:02:51 +0300 Subject: [PATCH] Fixed: Synced the data across sever/client when user selects invalid model --- lua/autorun/trackassembly_init.lua | 2 +- lua/weapons/gmod_tool/stools/trackassembly.lua | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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