Woops. Should be like this
This commit is contained in:
parent
16900968ce
commit
a9834f5be8
|
@ -115,8 +115,8 @@ function PT:INV_Weight()
|
|||
end
|
||||
-- PROTO: HOLY SHIT THIS SUCKS, MAKES A FUNCTION AND MIGHT RUN EVERY FRAME!!!
|
||||
table.sort( results, function( a, b )
|
||||
return (T_WEIGHT[b[2]["Type"]] + b[1]["Acquisition"]*(1e-5))
|
||||
< (T_WEIGHT[a[2]["Type"]] + a[1]["Acquisition"]*(1e-5))
|
||||
return (T_WEIGHT[b[2]["Type"]] - b[1]["Acquisition"]*(1e-5))
|
||||
< (T_WEIGHT[a[2]["Type"]] - a[1]["Acquisition"]*(1e-5))
|
||||
end )
|
||||
local finale = {}
|
||||
for i, v in ipairs( results ) do
|
||||
|
|
Loading…
Reference in New Issue