From adae89fe2f5d093df371df3fd0548132ce58b01c Mon Sep 17 00:00:00 2001 From: "Jonny_Bro (Nikita)" Date: Tue, 23 Jul 2024 01:38:39 +0500 Subject: [PATCH] fix typo --- beatrun/gamemodes/beatrun/gamemode/sv/HitSoundsME.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/beatrun/gamemodes/beatrun/gamemode/sv/HitSoundsME.lua b/beatrun/gamemodes/beatrun/gamemode/sv/HitSoundsME.lua index d21157f..44ecf50 100644 --- a/beatrun/gamemodes/beatrun/gamemode/sv/HitSoundsME.lua +++ b/beatrun/gamemodes/beatrun/gamemode/sv/HitSoundsME.lua @@ -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")