maybe closer? some prices appear correct

This commit is contained in:
Crum
2018-02-20 17:20:19 -06:00
parent b511a9b9d1
commit a56d00fac0
@@ -60,9 +60,9 @@ do
function get(id) function get(id)
if id and id <= 39656 and id > 0 then if id and id <= 39656 and id > 0 then
local index = id * 3 local index = id * 3
local a, b, c = byte(prices, index - 2, index) local a = byte(prices, index - 2, index)
local b = byte(index - 2) local b = byte(prices, index - 2)
local c = byte(index) local c = byte(prices, index)
if a == 122 and b == 122 and c == 122 then return 0 end if a == 122 and b == 122 and c == 122 then return 0 end
if b == 0 then if b == 0 then
if c == 0 then if c == 0 then