Renamed: Ghost blend method to math its purpose

This commit is contained in:
Deyan Dobromirov 2024-07-25 10:18:12 +03:00
parent 195f80b484
commit 1f5c86ad7c
2 changed files with 3 additions and 3 deletions

View File

@ -86,7 +86,7 @@ local asmlib = trackasmlib; if(not asmlib) then -- Module present
------------ CONFIGURE ASMLIB ------------
asmlib.InitBase("track","assembly")
asmlib.SetOpVar("TOOL_VERSION","8.752")
asmlib.SetOpVar("TOOL_VERSION","8.753")
------------ CONFIGURE GLOBAL INIT OPVARS ------------

View File

@ -376,7 +376,7 @@ function TOOL:GetStackAttempts()
return (mathClamp(self:GetClientNumber("maxstatts", 0), 0, 10))
end
function TOOL:GetGhostFade()
function TOOL:GetGhostBlend()
return (mathClamp(self:GetClientNumber("ghostblnd", 0), 0, 1))
end
@ -1700,7 +1700,7 @@ function TOOL:UpdateGhostSpawn(stTrace, oPly)
end
function TOOL:UpdateGhost(oPly)
local ghostblnd = self:GetGhostFade()
local ghostblnd = self:GetGhostBlend()
if(not asmlib.FadeGhosts(true, ghostblnd)) then return end
if(self:GetGhostsCount() <= 0) then return end
local stTrace = asmlib.GetCacheTrace(oPly)