Skip to content

Commit

Permalink
Fixed: Open frequent pieces causing error in some cases
Browse files Browse the repository at this point in the history
  • Loading branch information
dvdvideo1234 committed Oct 2, 2017
1 parent cf0c037 commit 635389e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions 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.398")
asmlib.SetOpVar("TOOL_VERSION","5.399")
asmlib.SetIndexes("V",1,2,3)
asmlib.SetIndexes("A",1,2,3)
asmlib.SetIndexes("S",4,5,6,7)
Expand Down Expand Up @@ -433,7 +433,7 @@ if(CLIENT) then
local uiBox = asmlib.CacheBoxLayout(oEnt,40)
if(not asmlib.IsExistent(uiBox)) then
return asmlib.StatusLog(nil,"OPEN_FRAME: pnModelPanel.LayoutEntity: Box invalid") end
local stSpawn = asmlib.GetNormalSpawn(asmlib.GetOpVar("VEC_ZERO"),uiBox.Ang,oEnt:GetModel(),1)
local stSpawn = asmlib.GetNormalSpawn(oPly,asmlib.GetOpVar("VEC_ZERO"),uiBox.Ang,oEnt:GetModel(),1)
stSpawn.SPos:Set(uiBox.Cen)
stSpawn.SPos:Rotate(stSpawn.SAng)
stSpawn.SPos:Mul(-1)
Expand Down

0 comments on commit 635389e

Please sign in to comment.