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)