Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion lua/entities/gmod_wire_expression2/core/ranger.lua
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@
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)
Expand Down Expand Up @@ -97,9 +97,9 @@
else
if water then
tracedata.mask = -1
else
--No flags needed
end

Check warning on line 102 in lua/entities/gmod_wire_expression2/core/ranger.lua

View workflow job for this annotation

GitHub Actions / lint

"Empty block"

Empty else statement
end
else
if ignoreworld then
Expand Down
Loading