mirror of
https://github.com/luanti-org/luanti.git
synced 2025-06-27 16:36:03 +00:00
parent
e81c48526b
commit
6e9d31d4fb
1 changed files with 1 additions and 1 deletions
|
@ -487,7 +487,7 @@ function pkgmgr.enable_mod(this, toset)
|
||||||
-- Push the dependencies of the dependency onto the stack
|
-- Push the dependencies of the dependency onto the stack
|
||||||
local depends = pkgmgr.get_dependencies(mod_to_enable.path)
|
local depends = pkgmgr.get_dependencies(mod_to_enable.path)
|
||||||
for i = 1, #depends do
|
for i = 1, #depends do
|
||||||
if not enabled_mods[name] then
|
if not enabled_mods[depends[i]] then
|
||||||
sp = sp+1
|
sp = sp+1
|
||||||
to_enable[sp] = depends[i]
|
to_enable[sp] = depends[i]
|
||||||
end
|
end
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue