Cleanup, update anims, no punching while crouching

This commit is contained in:
Jonny_Bro (Nikita) 2023-08-03 22:25:11 +05:00
parent 6f95a5500c
commit a2b2d11d20
No known key found for this signature in database
GPG key ID: 28B0D27F8DD5A4C9
8 changed files with 2 additions and 3 deletions

View file

@ -42,7 +42,6 @@ All of the settings below can be changed in the configuration menu.
* Proper Kick Glitch (Like in original ME: https://www.youtube.com/watch?v=zK5y3NBUStc).
* Tweaked safety roll, now you can roll under things.
* You can now dive to your death =).
* Allowed punching while crouching.
* Grapple fixes. Now it moves with entity it attached to and other players can see it.
* More reliable grappling.
* Merged some anims into 1 file.

View file

@ -419,7 +419,7 @@ function SWEP:PrimaryAttack()
return
end
if not ply:OnGround() or ply:GetSliding() or ply:GetGrappling() or ply:GetWallrun() ~= 0 then return end
if not ply:OnGround() or ply:Crouching() or ply:GetSliding() or ply:GetGrappling() or ply:GetWallrun() ~= 0 then return end
local curseq = self:GetSequence()
local infall = curseq == 19

View file

@ -197,4 +197,4 @@ if SERVER then
return 0
end)
end
end