Changes

m
Actually fix it.
Line 342: Line 342:  
for bracket, _ in pairs(self._improvements._products[product]) do
 
for bracket, _ in pairs(self._improvements._products[product]) do
 
if type(bracket) == "number" then
 
if type(bracket) == "number" then
table.insert(self._brackets, bracket)
+
table.insert(self._brackets[product], bracket)
 
end
 
end
 
end
 
end
table.sort(self._brackets)
+
table.sort(self._brackets[product])
 
end
 
end
 
return self._brackets[product]
 
return self._brackets[product]
Anonymous user