fix nasa acceleration

This commit is contained in:
relaxtakenotes 2023-06-03 14:36:23 +05:00
parent 14e39e2147
commit 654cf29f1e

View file

@ -171,7 +171,8 @@ local function MeleeThink(ply, mv, cmd)
if ply:GetMelee() >= 5 then
local vel = mv:GetVelocity()
vel:Add(ply:GetWallrunDir() * 0.5 * vel:Length())
// why is getwallrundir in the thousands?
vel:Add(ply:GetWallrunDir():GetNormalized() * 0.5 * vel:Length())
mv:SetVelocity(vel)
end