Skip to content

Commit

Permalink
Fixed: Synced the data across sever/client when user selects invalid …
Browse files Browse the repository at this point in the history
…model
  • Loading branch information
dvdvideo1234 committed Oct 2, 2017
1 parent 8eda226 commit cf0c037
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lua/autorun/trackassembly_init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
2 changes: 1 addition & 1 deletion lua/weapons/gmod_tool/stools/trackassembly.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit cf0c037

Please sign in to comment.