Skip to content

Commit

Permalink
Removed: IsString is contained in IsModel
Browse files Browse the repository at this point in the history
  • Loading branch information
dvdvideo1234 committed Mar 28, 2024
1 parent 5e28078 commit 84253e8
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 1 addition & 1 deletion lua/autorun/trackassembly_init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ local asmlib = trackasmlib; if(not asmlib) then -- Module present
------------ CONFIGURE ASMLIB ------------

asmlib.InitBase("track","assembly")
asmlib.SetOpVar("TOOL_VERSION","8.746")
asmlib.SetOpVar("TOOL_VERSION","8.747")
asmlib.SetIndexes("V" ,1,2,3)
asmlib.SetIndexes("A" ,1,2,3)
asmlib.SetIndexes("WV",1,2,3)
Expand Down
2 changes: 0 additions & 2 deletions lua/trackassembly/trackasmlib.lua
Original file line number Diff line number Diff line change
Expand Up @@ -2214,8 +2214,6 @@ end
function GetTransformOA(sModel, sKey)
if(not IsModel(sModel)) then
LogInstance("Model mismatch "..GetReport2(sModel, sKey)); return nil end
if(not IsString(sKey)) then
LogInstance("Key mismatch "..GetReport2(sModel, sKey)); return nil end
local ePiece = GetOpVar("ENTITY_TRANSFORMPOA")
if(ePiece and ePiece:IsValid()) then -- There is basis entity then update and extract
if(ePiece:GetModel() ~= sModel) then ePiece:SetModel(sModel)
Expand Down

0 comments on commit 84253e8

Please sign in to comment.