From ee6d40fbae8a9dd51258bf3711f87550221bd3b8 Mon Sep 17 00:00:00 2001 From: mexikoedi Date: Tue, 31 Dec 2024 15:52:20 +0100 Subject: [PATCH] cleaned code --- .../terrortown/entities/weapons/weapon_ttt2_kiss/shared.lua | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/gamemodes/terrortown/entities/weapons/weapon_ttt2_kiss/shared.lua b/gamemodes/terrortown/entities/weapons/weapon_ttt2_kiss/shared.lua index ab37797..87d32f6 100644 --- a/gamemodes/terrortown/entities/weapons/weapon_ttt2_kiss/shared.lua +++ b/gamemodes/terrortown/entities/weapons/weapon_ttt2_kiss/shared.lua @@ -462,7 +462,7 @@ if CLIENT then end local idle_pose = 0 - function SWEP:PreDrawViewModel(vm, wep, ply) + function SWEP:PreDrawViewModel(vm, _, ply) local ft = FrameTime() local attID = vm:LookupAttachment("camera") local act = vm:GetSequenceActivity(vm:GetSequence()) @@ -500,7 +500,7 @@ if CLIENT then return true end - function SWEP:PostDrawViewModel(vm, wep, ply) + function SWEP:PostDrawViewModel(_, _, ply) if not IsValid(ply) then return end local vm_depth = self.ViewModelFOV / ply:GetFOV() local hands = ply:GetHands() @@ -511,7 +511,7 @@ if CLIENT then render.DepthRange(0, 1) end - function SWEP:CalcViewModelView(vm, origin, angles, vm_origin, vm_angles) + function SWEP:CalcViewModelView(_, _, _, vm_origin, vm_angles) if self:ShouldAnimateKiss() then local pos, ang = self:GetKissPos() if pos == nil or ang == nil then return end