Merge pull request #10 from jeffthekillerz/master

This commit is contained in:
Nikita 2023-06-05 00:53:30 +05:00 committed by GitHub
commit 53d03f2423
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -298,7 +298,9 @@ hook.Add("SetupMove", "Melee", function(ply, mv, cmd)
ParkourEvent("jumpslow", ply) ParkourEvent("jumpslow", ply)
end end
end
if ply:GetMeleeDelay() < CurTime() and ply:GetMelee() ~= 0 then
ply:SetMeleeTime(0) ply:SetMeleeTime(0)
ply:SetMelee(0) ply:SetMelee(0)
end end