From 0facc394210f1c70521f27928c1fd36da7e2e22d Mon Sep 17 00:00:00 2001 From: Astralcircle <142503363+Astralcircle@users.noreply.github.com> Date: Thu, 24 Sep 2026 20:50:46 +0300 Subject: [PATCH] Fix #3727 Fixes #3727 --- lua/entities/gmod_wire_expression2/core/ranger.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lua/entities/gmod_wire_expression2/core/ranger.lua b/lua/entities/gmod_wire_expression2/core/ranger.lua index 527bce4a29..fde4cb3210 100644 --- a/lua/entities/gmod_wire_expression2/core/ranger.lua +++ b/lua/entities/gmod_wire_expression2/core/ranger.lua @@ -62,7 +62,7 @@ local function entitiesAndWaterTrace( tracedata, tracefunc ) local trace2 = tracefunc() if not trace1.Hit then return trace2 end if not trace2.Hit then return trace1 end - return trace1.fraction < trace2.fraction and trace1 or trace2 + return trace1.Fraction < trace2.Fraction and trace1 or trace2 end local function ranger(self, rangertype, range, p1, p2, hulltype, mins, maxs, traceEntity)