Fix da bugz

This commit is contained in:
Fesiug 2023-11-15 21:56:08 -05:00
parent d741067f44
commit 565d9ef170
1 changed files with 1 additions and 3 deletions

View File

@ -76,8 +76,6 @@ hook.Add( "Move", "Benny_Move", function( ply, mv )
maxs = bb, maxs = bb,
filter = ply, filter = ply,
} ) } )
debugoverlay.Line( T1.StartPos, T1.HitPos, 0, T1.Hit and CR or color_white )
if CLIENT then vaultsave = false end if CLIENT then vaultsave = false end
if T1.Hit then -- A challenger approaches if T1.Hit then -- A challenger approaches
@ -104,7 +102,7 @@ hook.Add( "Move", "Benny_Move", function( ply, mv )
local VertClearance = T3.HitPos.z - T3.StartPos.z local VertClearance = T3.HitPos.z - T3.StartPos.z
-- If we try to go so high and it's TOO high then give up -- If we try to go so high and it's TOO high then give up
if VertClearance != MAXVAULTHEIGHT then if VertClearance > ply:GetStepSize() and VertClearance != MAXVAULTHEIGHT then
-- Trace from clearance to final -- Trace from clearance to final
local T4 = util.TraceHull( { local T4 = util.TraceHull( {
start = T3.HitPos, start = T3.HitPos,