summaryrefslogtreecommitdiff
path: root/init.lua
diff options
context:
space:
mode:
Diffstat (limited to 'init.lua')
-rw-r--r--init.lua9
1 files changed, 7 insertions, 2 deletions
diff --git a/init.lua b/init.lua
index fb96693..3a6cdcc 100644
--- a/init.lua
+++ b/init.lua
@@ -12,8 +12,13 @@ local components = {
"decorations",
}
-if minetest.get_modpath("laptop") then
- table.insert(components,"laptop")
+local integrations = {
+ "laptop",
+ "mesecons",
+}
+
+for _,i in ipairs(integrations) do
+ if minetest.get_modpath(i) then table.insert(components,i) end
end
for _,v in ipairs(components) do