From 9393b34d1e8b107da7604fdee86be08c18244ab8 Mon Sep 17 00:00:00 2001 From: "Jonny_Bro (Nikita)" Date: Mon, 5 Jun 2023 01:03:52 +0500 Subject: [PATCH] remove trailing whitespaces --- beatrun/gamemodes/beatrun/gamemode/sh/Melee.lua | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/beatrun/gamemodes/beatrun/gamemode/sh/Melee.lua b/beatrun/gamemodes/beatrun/gamemode/sh/Melee.lua index 4ed5852..c1dc8bf 100644 --- a/beatrun/gamemodes/beatrun/gamemode/sh/Melee.lua +++ b/beatrun/gamemodes/beatrun/gamemode/sh/Melee.lua @@ -281,15 +281,16 @@ hook.Add("SetupMove", "Melee", function(ply, mv, cmd) elseif kickglitch:GetBool() and not old_kickglitch:GetBool() then if SERVER then local platform = ents.Create("prop_physics") - local pos = ply:GetPos() + local pos = ply:GetPos() pos.z = pos.z - 8 platform:SetModel("models/hunter/plates/plate1x1.mdl") platform:SetPos(pos) - platform:SetColor(Color(0,0,0,0)) + platform:SetColor(Color(0, 0, 0, 0)) platform:SetRenderMode(RENDERMODE_TRANSCOLOR) platform:Spawn() + local phys = platform:GetPhysicsObject() phys:EnableMotion(false) @@ -302,7 +303,7 @@ hook.Add("SetupMove", "Melee", function(ply, mv, cmd) 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