forked from mtcontrib/weather_pack
fix optional lightning mod dependency issue
This commit is contained in:
parent
9ec1790b16
commit
17a67b846e
2
init.lua
2
init.lua
@ -21,9 +21,9 @@ dofile(modpath.."/snow.lua")
|
|||||||
|
|
||||||
if minetest.get_modpath("lightning") ~= nil then
|
if minetest.get_modpath("lightning") ~= nil then
|
||||||
dofile(modpath.."/thunder.lua")
|
dofile(modpath.."/thunder.lua")
|
||||||
end
|
|
||||||
|
|
||||||
-- Turn off lightning mod 'auto mode'
|
-- Turn off lightning mod 'auto mode'
|
||||||
lightning.auto = false
|
lightning.auto = false
|
||||||
|
end
|
||||||
|
|
||||||
dofile(modpath.."/abm.lua")
|
dofile(modpath.."/abm.lua")
|
||||||
|
Loading…
Reference in New Issue
Block a user