diff --git a/Core/Target/Target.lua b/Core/Target/Target.lua index cde7d4d..6986f08 100644 --- a/Core/Target/Target.lua +++ b/Core/Target/Target.lua @@ -31,7 +31,6 @@ local function start() end local function startProject() - --_G.architecture("x86_64") auFilterForConfigPlatforms(function(config, platform) if (not _auExtendedArch) then local architecture = _auCurrentArchs[1] diff --git a/Public/api.lua b/Public/api.lua index 60653f3..2813048 100644 --- a/Public/api.lua +++ b/Public/api.lua @@ -85,13 +85,14 @@ end _G.filterStack = {} function auFilter(filter) local tbl = _G.filterStack; + if (not filter or #filter == 0) then table.remove(tbl, #tbl) else table.insert(tbl, filter) end + local filterArray = {} - auForEach(tbl, function(val) filterArray = auMergeArray(filterArray, val) end)