Skip to content

Commit

Permalink
Change
Browse files Browse the repository at this point in the history
  • Loading branch information
Astralcircle authored Oct 16, 2024
1 parent 9b66af1 commit bb76744
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lua/wire/stools/hydraulic.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit bb76744

Please sign in to comment.