mirror of
https://github.com/dvdvideo1234/TrackAssemblyTool.git
synced 2025-03-04 03:13:32 -05:00
Removed: asmlib.GetActionData("TWEAK_PANEL") as not needed
This commit is contained in:
parent
2b7bce6ee9
commit
139835be43
@ -92,7 +92,7 @@ local asmlib = trackasmlib; if(not asmlib) then -- Module present
|
||||
------------ CONFIGURE ASMLIB ------------
|
||||
|
||||
asmlib.InitBase("track","assembly")
|
||||
asmlib.SetOpVar("TOOL_VERSION","8.714")
|
||||
asmlib.SetOpVar("TOOL_VERSION","8.715")
|
||||
asmlib.SetIndexes("V" ,1,2,3)
|
||||
asmlib.SetIndexes("A" ,1,2,3)
|
||||
asmlib.SetIndexes("WV",1,2,3)
|
||||
@ -445,7 +445,7 @@ if(CLIENT) then
|
||||
asmlib.LogInstance("User miss: "..vOut, sLog); return end; fUser = vOut
|
||||
local pUser = controlpanelGet(gsToolNameL.."_utilities_user"); if(not IsValid(pUser)) then
|
||||
asmlib.LogInstance("User invalid", sLog); return end
|
||||
-- Retrieve the utilities user preferencies panel
|
||||
-- Retrieve the utilities admin preferencies panel
|
||||
bS, vOut = asmlib.DoAction("TWEAK_PANEL", "Utilities", "Admin"); if(not bS) then
|
||||
asmlib.LogInstance("Admin miss: "..vOut, sLog); return end; fAdmn = vOut
|
||||
local pAdmn = controlpanelGet(gsToolNameL.."_utilities_admin"); if(not IsValid(pAdmn)) then
|
||||
|
@ -4623,7 +4623,7 @@ function ApplyPhysicalSettings(ePiece,bPi,bFr,bGr,sPh)
|
||||
-- Delay the freeze by a tiny amount because on physgun snap the piece
|
||||
-- is unfrozen automatically after physgun drop hook call
|
||||
timerSimple(GetOpVar("DELAY_FREEZE"), function() -- If frozen motion is disabled
|
||||
LogInstance("Freeze", "*DELAY_FREEZE"); -- Make sure that the physics are valid
|
||||
LogInstance("Freeze:["..tostring(bFr).."]", "*DELAY_FREEZE"); -- Make sure that the physics are valid
|
||||
if(pyPiece and pyPiece:IsValid()) then pyPiece:EnableMotion(not bFr) end end )
|
||||
constructSetPhysProp(nil,ePiece,0,pyPiece,{GravityToggle = bGr, Material = sPh})
|
||||
duplicatorStoreEntityModifier(ePiece,sToolPrefL.."dupe_phys_set",arSettings)
|
||||
|
@ -2507,7 +2507,6 @@ if(CLIENT) then
|
||||
local function setupUserSettings(CPanel)
|
||||
local sLog = "*TOOL.UserSettings"
|
||||
local iMaxDec = asmlib.GetAsmConvar("maxmenupr","INT")
|
||||
local tPanTwk = asmlib.GetActionData("TWEAK_PANEL")
|
||||
CPanel:ClearControls(); CPanel:DockPadding(5, 0, 5, 10)
|
||||
CPanel:SetName(languageGetPhrase("tool."..gsToolNameL..".utilities_user"))
|
||||
CPanel:ControlHelp(languageGetPhrase("tool."..gsToolNameL..".client_var"))
|
||||
@ -2531,7 +2530,6 @@ if(CLIENT) then
|
||||
local function setupAdminSettings(CPanel)
|
||||
local sLog = "*TOOL.AdminSettings"
|
||||
local drmSkin, pItem = CPanel:GetSkin()
|
||||
local tPanTwk = asmlib.GetActionData("TWEAK_PANEL")
|
||||
local iMaxDec = asmlib.GetAsmConvar("maxmenupr","INT")
|
||||
CPanel:ClearControls(); CPanel:DockPadding(5, 0, 5, 10)
|
||||
CPanel:SetName(languageGetPhrase("tool."..gsToolNameL..".utilities_admin"))
|
||||
|
Loading…
Reference in New Issue
Block a user