From 1f94b8bc5d74ae97c194cd2ecd4b3c3a5dd1dc52 Mon Sep 17 00:00:00 2001 From: tommy aka doge <59783653+dowoge@users.noreply.github.com> Date: Sat, 10 Sep 2022 19:44:28 -0400 Subject: [PATCH] Revert "Fix map finding" --- src/modules/commands/maps_init.lua | 5 ----- 1 file changed, 5 deletions(-) diff --git a/src/modules/commands/maps_init.lua b/src/modules/commands/maps_init.lua index ca0850f..1b903ed 100644 --- a/src/modules/commands/maps_init.lua +++ b/src/modules/commands/maps_init.lua @@ -20,11 +20,6 @@ for _,game in next,API.GAMES do end end end - table.sort(maps, function(a, b) - a = type(a) == 'table' and a or -1 - b = type(b) == 'table' and b or -1 - return #a.DisplayName < #b.DisplayName - end) setmetatable(maps,{__index=function(self,i) if i=='count' then return self.count end if not tonumber(i) then