mirror of
https://github.com/JonnyBro/beatrun.git
synced 2024-12-29 05:13:02 +05:00
fix typo
This commit is contained in:
parent
8832566ead
commit
adae89fe2f
1 changed files with 1 additions and 1 deletions
|
@ -6,7 +6,7 @@ hook.Add("EntityTakeDamage", "MEHitSounds", function(ply, dmginfo)
|
|||
if dmginfo:IsBulletDamage() then
|
||||
if ply:GetVelocity():Length() > 400 then return true end -- Block damage if they're going very fast
|
||||
|
||||
ply:EmitSound("mirrorsedgse/Flesh_0" .. tostring(math.random(1, 9)) .. ".wav")
|
||||
ply:EmitSound("mirrorsedge/Flesh_0" .. tostring(math.random(1, 9)) .. ".wav")
|
||||
ply:ViewPunch(Angle(math.Rand(-10, -5), 0, math.Rand(0, 5)))
|
||||
elseif not ply:HasGodMode() and (dmginfo:IsFallDamage() and ply:Health() - dmginfo:GetDamage() <= 0) then
|
||||
net.Start("DeathStopSound")
|
||||
|
|
Loading…
Reference in a new issue