mirror of
https://github.com/JonnyBro/beatrun.git
synced 2025-01-30 19:47:28 +05:00
fix nasa acceleration
This commit is contained in:
parent
14e39e2147
commit
654cf29f1e
1 changed files with 2 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue