From ea782ddeeb9a00f50fa24e0489ecfdb79488e2e5 Mon Sep 17 00:00:00 2001 From: Brandon Blanker Lim-it Date: Tue, 7 Jun 2022 20:58:43 +0800 Subject: [PATCH] Allow no definition in system creation --- concord/system.lua | 1 + 1 file changed, 1 insertion(+) diff --git a/concord/system.lua b/concord/system.lua index 3db2a44..1b2be75 100644 --- a/concord/system.lua +++ b/concord/system.lua @@ -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