summaryrefslogtreecommitdiff
path: root/honey/ecs/ecs.lua
diff options
context:
space:
mode:
authorsanine <sanine.not@pm.me>2023-05-16 22:51:17 -0500
committersanine <sanine.not@pm.me>2023-05-16 22:51:17 -0500
commit4b2507b2f30d50c8673f33179c2b537ac83da3bf (patch)
treef30fef03ada16c56e638f7955b1d01de676fda13 /honey/ecs/ecs.lua
parentfae263bc315f1c44cbcf399f58c92e23f0968747 (diff)
add basic collision geom visualizations
Diffstat (limited to 'honey/ecs/ecs.lua')
-rw-r--r--honey/ecs/ecs.lua2
1 files changed, 1 insertions, 1 deletions
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