lazily fix loading order

This commit is contained in:
theFox6 2020-06-16 17:50:58 +02:00
parent 3bd64aff75
commit 5b2a830a6e
No known key found for this signature in database
GPG Key ID: C884FE8D3BCE128A

@ -72,6 +72,8 @@ function microexpansion.require_module(name)
end
end
microexpansion.require_module("power")
for name,enabled in pairs(settings) do
if enabled ~= false then
microexpansion.load_module(name)