a lot of refactoring, performance issue fixed

This commit is contained in:
Manuel Simon Hirsig
2016-08-03 18:14:18 +02:00
parent 02ee8f7c6c
commit b374c7946f
16 changed files with 453 additions and 501 deletions
+1 -1
View File
@@ -462,7 +462,7 @@ function private.update_inventory_records()
end
m.inventory_records = {}
for _, auction_candidate in pairs(auction_candidate_map) do
for _, auction_candidate in auction_candidate_map do
tinsert(m.inventory_records, auction_candidate)
end
sort(m.inventory_records, function(a, b) return a.name < b.name end)