what is this syntax!?

This commit is contained in:
theFox6 2018-04-10 19:10:38 +02:00 committed by GitHub
parent 132bd286d0
commit f8169ca2f3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

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