remove trailing whitespaces

This commit is contained in:
Jonny_Bro (Nikita) 2023-06-05 01:03:52 +05:00
parent 53d03f2423
commit 9393b34d1e

View file

@ -281,15 +281,16 @@ hook.Add("SetupMove", "Melee", function(ply, mv, cmd)
elseif kickglitch:GetBool() and not old_kickglitch:GetBool() then elseif kickglitch:GetBool() and not old_kickglitch:GetBool() then
if SERVER then if SERVER then
local platform = ents.Create("prop_physics") local platform = ents.Create("prop_physics")
local pos = ply:GetPos()
local pos = ply:GetPos()
pos.z = pos.z - 8 pos.z = pos.z - 8
platform:SetModel("models/hunter/plates/plate1x1.mdl") platform:SetModel("models/hunter/plates/plate1x1.mdl")
platform:SetPos(pos) platform:SetPos(pos)
platform:SetColor(Color(0,0,0,0)) platform:SetColor(Color(0, 0, 0, 0))
platform:SetRenderMode(RENDERMODE_TRANSCOLOR) platform:SetRenderMode(RENDERMODE_TRANSCOLOR)
platform:Spawn() platform:Spawn()
local phys = platform:GetPhysicsObject() local phys = platform:GetPhysicsObject()
phys:EnableMotion(false) phys:EnableMotion(false)