code beautification

This commit is contained in:
theFox6 2018-05-08 16:23:57 +02:00
parent 08d7f5d54c
commit b916493280
2 changed files with 2 additions and 1 deletions

View File

@ -5,4 +5,5 @@ read_globals = {
"dump", "vector",
"VoxelManip", "VoxelArea",
table = { fields = { "copy" } }
"lightning",
}

View File

@ -77,7 +77,7 @@ end
minetest.register_globalstep(function()
if weather.type=="none" then
for id,el in pairs(weather_mod.registered_downfalls) do
for id,_ in pairs(weather_mod.registered_downfalls) do
if math.random(1, 50000) == 1 then
weather.wind = {}
weather.wind.x = math.random(0,10)