From bb76744a58ca3ca4c7054fe55f4b14a9d3929dcc Mon Sep 17 00:00:00 2001 From: Astralcircle <142503363+Astralcircle@users.noreply.github.com> Date: Wed, 16 Oct 2024 06:49:44 +0300 Subject: [PATCH] Change --- lua/wire/stools/hydraulic.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lua/wire/stools/hydraulic.lua b/lua/wire/stools/hydraulic.lua index c7cf6ed716..9a39c3d28b 100644 --- a/lua/wire/stools/hydraulic.lua +++ b/lua/wire/stools/hydraulic.lua @@ -178,7 +178,7 @@ function TOOL:RightClick( trace ) end local trace2 = util.TraceLine( tr ) - if SERVER and not WireLib.CanTool(self:GetOwner(), trace2.Entity, "wire_hydraulic") then return false end + if CLIENT or not WireLib.CanTool(self:GetOwner(), trace2.Entity, "wire_hydraulic") then return false end return self:LeftClick(trace) and self:LeftClick(trace2) end