Added popup frames

This commit is contained in:
Cooldude2606
2019-05-24 20:02:18 +01:00
parent bda4750871
commit 23b54913d4
8 changed files with 460 additions and 94 deletions

View File

@@ -206,8 +206,8 @@ end
-- @treturn table the table of element instances with all invalid ones removed
function Instances.unregistered_get_elements(name,category,callback)
local elements = Instances.data[name]
if category then
elements = Instances.data[name][category]
if elements and category then
elements = elements[category]
end
if not elements then return {} end