mirror of
https://github.com/BlackMATov/evolved.lua.git
synced 2025-12-14 12:10:23 +07:00
dont sort empty and one element assoc lists
This commit is contained in:
@@ -360,7 +360,7 @@ end
|
||||
local function __assoc_list_sort(al, comp)
|
||||
local al_item_count = al.__item_count
|
||||
|
||||
if al_item_count == 0 then
|
||||
if al_item_count < 2 then
|
||||
return
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user