Merge pull request #347 from Flamanis/master

Another divide by zero fix
This commit is contained in:
Tercio Jose
2022-09-15 17:14:33 -03:00
committed by GitHub
+1 -1
View File
@@ -2315,7 +2315,7 @@ function gump:CriaJanelaInfo()
end
else
local d = lastvalue - ps
d = d / ps * 100
d = d / max(ps, 0.001) * 100
d = _math_floor (math.abs (d))
if (d > 999) then