Skip to content

Commit

Permalink
Fixed: Return the actual panel when creating BIS
Browse files Browse the repository at this point in the history
  • Loading branch information
dvdvideo1234 committed Jan 22, 2023
1 parent fd4a7a7 commit 1177f1e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion lua/autorun/gearassembly_init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ local asmlib = gearasmlib; if(not asmlib) then -- Module present

------ CONFIGURE ASMLIB ------
asmlib.InitBase("gear","assembly")
asmlib.SetOpVar("TOOL_VERSION","5.231")
asmlib.SetOpVar("TOOL_VERSION","5.232")
asmlib.SetIndexes("V",1,2,3)
asmlib.SetIndexes("A",1,2,3)
asmlib.SetIndexes("S",4,5,6,7)
Expand Down
1 change: 1 addition & 0 deletions lua/gearassembly/gearasmlib.lua
Original file line number Diff line number Diff line change
Expand Up @@ -1530,6 +1530,7 @@ function SetButtonSlider(cPanel, sVar, nMin, nMax, nDec, tBtn)
pPanel:UpdateColours(tSkin)
pPanel:ApplySchemeSettings()
cPanel:AddItem(pPanel)
return pPanel
end

function SetCheckBox(cPanel, sVar)
Expand Down

0 comments on commit 1177f1e

Please sign in to comment.