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