From 35d55376a9a68324b2c7650cfcadd93a28083809 Mon Sep 17 00:00:00 2001 From: AFCMS Date: Thu, 18 Feb 2021 15:26:09 +0000 Subject: [PATCH] replace pairs() by ipairs() (3) --- mods/ENVIRONMENT/mcl_weather/thunder.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mods/ENVIRONMENT/mcl_weather/thunder.lua b/mods/ENVIRONMENT/mcl_weather/thunder.lua index b1837f0232..7da3308dbc 100644 --- a/mods/ENVIRONMENT/mcl_weather/thunder.lua +++ b/mods/ENVIRONMENT/mcl_weather/thunder.lua @@ -25,7 +25,7 @@ minetest.register_globalstep(function(dtime) {r=40, g=40, b=40}, {r=0, g=0, b=0}}) mcl_weather.skycolor.active = true - for _, player in pairs(minetest.get_connected_players()) do + for _, player in ipairs(minetest.get_connected_players()) do player:set_clouds({color="#3D3D3FE8"}) end mcl_weather.thunder.init_done = true