From c61a2b129df4f082d12df9ffbe16dbc2b89c57b4 Mon Sep 17 00:00:00 2001 From: RedyRT <64935439+RedyRT@users.noreply.github.com> Date: Thu, 3 Aug 2023 04:48:17 +0300 Subject: [PATCH] Update SafetyRoll.lua Fixes missing sound when falling on hands in singleplayer Works for both multiplayer and singleplayer. --- beatrun/gamemodes/beatrun/gamemode/sh/SafetyRoll.lua | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/beatrun/gamemodes/beatrun/gamemode/sh/SafetyRoll.lua b/beatrun/gamemodes/beatrun/gamemode/sh/SafetyRoll.lua index 5dc441e..b066062 100644 --- a/beatrun/gamemodes/beatrun/gamemode/sh/SafetyRoll.lua +++ b/beatrun/gamemodes/beatrun/gamemode/sh/SafetyRoll.lua @@ -91,7 +91,7 @@ hook.Add("SetupMove", "EvadeRoll", function(ply, mv, cmd) if SERVER and not land then ply:EmitSound("Cloth.Roll") ply:EmitSound("Cloth.RollLand") - elseif CLIENT_IFTP() then + elseif true then ply:EmitSound("Handsteps.ConcreteHard") ply:EmitSound("Land.Concrete") end @@ -155,7 +155,7 @@ hook.Add("OnPlayerHitGround", "SafetyRoll", function(ply, water, floater, speed) if SERVER and not land then ply:EmitSound("Cloth.Roll") ply:EmitSound("Cloth.RollLand") - elseif CLIENT_IFTP() then + elseif true then ply:EmitSound("Handsteps.ConcreteHard") ply:EmitSound("Land.Concrete") end @@ -197,4 +197,4 @@ if SERVER then return 0 end) -end \ No newline at end of file +end