Allow no definition in system creation

This commit is contained in:
Brandon Blanker Lim-it 2022-06-07 20:58:43 +08:00
parent 6f08cfe10a
commit ea782ddeeb

View file

@ -47,6 +47,7 @@ System.mt = {
}
local validateFilters = function (definition)
if not definition then return {} end
local filters = {}
for name, componentsList in pairs(definition) do