From 4b2507b2f30d50c8673f33179c2b537ac83da3bf Mon Sep 17 00:00:00 2001 From: sanine Date: Tue, 16 May 2023 22:51:17 -0500 Subject: add basic collision geom visualizations --- honey/ecs/ecs.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'honey/ecs/ecs.lua') diff --git a/honey/ecs/ecs.lua b/honey/ecs/ecs.lua index 0c84041..dc096be 100644 --- a/honey/ecs/ecs.lua +++ b/honey/ecs/ecs.lua @@ -307,7 +307,7 @@ end function SystemDb.addSystems(self, systems, params) for _, system in ipairs(systems) do self.systems[system.name] = system - self.params[system.name] = params + self.params[system.name] = params or {} end self.sort, self.dangling = tsort(self.systems) return self -- cgit v1.2.1