fix optional lightning mod dependency issue

This commit is contained in:
Arturas Norkus 2017-05-24 08:27:27 +03:00
parent 9ec1790b16
commit 17a67b846e
1 changed files with 3 additions and 3 deletions

View File

@ -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")