Skip to content

Commit

Permalink
screen out any values over abs(n) in wiferange instead of explicit 1000s
Browse files Browse the repository at this point in the history
  • Loading branch information
MinaciousGrace committed Apr 17, 2020
1 parent ab98550 commit 70b49b3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Themes/_fallback/Scripts/10 WifeSundries.lua
Original file line number Diff line number Diff line change
Expand Up @@ -254,7 +254,7 @@ end
function wifeRange(t)
local x, y = 10000, 0
for i = 1, #t do
if t[i] ~= 1000 then
if math.abs(t[i]) <= 180 then -- some replays (online ones i think?) are flagging misses as 1100 for some reason
if math.abs(t[i]) < math.abs(x) then
x = t[i]
end
Expand Down

0 comments on commit 70b49b3

Please sign in to comment.