From 1699c650fe4772a33c84e456b5c50eada9d834ac Mon Sep 17 00:00:00 2001 From: relaxtakenotes <134127331+jeffthekillerz@users.noreply.github.com> Date: Mon, 5 Jun 2023 00:49:45 +0500 Subject: [PATCH] fix decompilation meme --- beatrun/gamemodes/beatrun/gamemode/sh/Melee.lua | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/beatrun/gamemodes/beatrun/gamemode/sh/Melee.lua b/beatrun/gamemodes/beatrun/gamemode/sh/Melee.lua index 3409fce..4ed5852 100644 --- a/beatrun/gamemodes/beatrun/gamemode/sh/Melee.lua +++ b/beatrun/gamemodes/beatrun/gamemode/sh/Melee.lua @@ -298,9 +298,11 @@ hook.Add("SetupMove", "Melee", function(ply, mv, cmd) ParkourEvent("jumpslow", ply) end + end + if ply:GetMeleeDelay() < CurTime() and ply:GetMelee() ~= 0 then ply:SetMeleeTime(0) - ply:SetMelee(0) + ply:SetMelee(0) end if KeyMelee(ply, mv) and ply:GetMeleeDelay() < CurTime() and ply:GetMeleeTime() == 0 and not ply:GetCrouchJump() and not ply:GetJumpTurn() and ply:GetClimbing() == 0 and ply:GetMantle() == 0 then