Skip to content

Commit

Permalink
Updated: BG-ID log output
Browse files Browse the repository at this point in the history
  • Loading branch information
dvdvideo1234 committed Sep 8, 2024
1 parent d523d91 commit e2fa31c
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 @@ -86,7 +86,7 @@ local asmlib = trackasmlib; if(not asmlib) then -- Module present
------------ CONFIGURE ASMLIB ------------

asmlib.InitBase("track","assembly")
asmlib.SetOpVar("TOOL_VERSION","8.763")
asmlib.SetOpVar("TOOL_VERSION","8.764")

------------ CONFIGURE GLOBAL INIT OPVARS ------------

Expand Down
2 changes: 1 addition & 1 deletion lua/trackassembly/trackasmlib.lua
Original file line number Diff line number Diff line change
Expand Up @@ -4602,7 +4602,7 @@ function AttachBodyGroups(ePiece,sBgID)
while(tBG[iCnt] and IDs[iCnt]) do local vBG = tBG[iCnt]
local maxID = (ePiece:GetBodygroupCount(vBG.id) - 1)
local curID = mathClamp(mathFloor(tonumber(IDs[iCnt]) or 0), 0, maxID)
LogInstance("SetBodygroup "..GetReport(iCnt, maxID, vBG.id, curID))
LogInstance("SetBodygroup "..GetReport(iCnt, vBG.id, maxID, curID))
ePiece:SetBodygroup(vBG.id, curID); iCnt = iCnt + 1
end; LogInstance("Success "..GetReport(sBgID)); return true
end
Expand Down

0 comments on commit e2fa31c

Please sign in to comment.