From f8169ca2f397c7de296f9b57c57d7bc626adf87d Mon Sep 17 00:00:00 2001 From: theFox6 Date: Tue, 10 Apr 2018 19:10:38 +0200 Subject: [PATCH] what is this syntax!? --- weather/rain.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/weather/rain.lua b/weather/rain.lua index c92b03c..411e174 100644 --- a/weather/rain.lua +++ b/weather/rain.lua @@ -1,6 +1,6 @@ -- Rain minetest.register_globalstep(function(dtime) - if weather.tyoe ~= "rain" then return end + if weather.type ~= "rain" then return end for _, player in ipairs(minetest.get_connected_players()) do local ppos = player:getpos()