Removed some tabs that were left in by mistake, made delays actually work and set skeleton calculations to happen 33 times per second. Still doesn't help performance

This commit is contained in:
penolakushari 2024-12-25 18:50:02 +03:00
parent 0b459b9727
commit aaf725a8b0
2 changed files with 2 additions and 2 deletions

View File

@ -4947,7 +4947,7 @@ function TOOL:DrawHUD()
})
local aimedbone = IsValid(tr.Entity) and (tr.Entity:GetClass() == "prop_ragdoll" and plTable.AimedBone or 0) or 0
if IsValid(ent) and EntityFilter(ent, self) and SkeletonDraw then
local timecheck = (thinktime - LastSkeletonThink) > 0,0667 -- 1/15
local timecheck = (thinktime - LastSkeletonThink) > 0.0303 -- 1/33
BonePoses = rgm.DrawSkeleton(ent, nodes, BonePoses, timecheck)
if timecheck then