mirror of
https://github.com/JonnyBro/beatrun.git
synced 2024-12-29 05:13:02 +05:00
Merge pull request #3 from jeffthekillerz/master
This commit is contained in:
commit
d847dd5622
1 changed files with 2 additions and 1 deletions
|
@ -171,7 +171,8 @@ local function MeleeThink(ply, mv, cmd)
|
||||||
|
|
||||||
if ply:GetMelee() >= 5 then
|
if ply:GetMelee() >= 5 then
|
||||||
local vel = mv:GetVelocity()
|
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)
|
mv:SetVelocity(vel)
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in a new issue