From 6adc3670ee6e788bd0837b16b9e09e7d18ab3a17 Mon Sep 17 00:00:00 2001 From: Marcus Date: Tue, 30 Apr 2024 16:21:21 +0200 Subject: [PATCH] Revert "nil return for getSmallestMap() (#5)" (#8) * Revert "nil return for getSmallestMap() (#5)" This reverts commit 12287b12ef27a34e9a4516110f6c3951ced21e21. * Keep export world --- lib/init.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/init.lua b/lib/init.lua index 26ac04b..3374970 100644 --- a/lib/init.lua +++ b/lib/init.lua @@ -360,7 +360,7 @@ local function getSmallestMap(componentIndex, components) end end - return s and s.sparse or nil + return s.sparse end function World.query(world: World, ...: i53): any