fix Travis `nused argument` errors

This commit is contained in:
Dirk Sohler 2018-05-13 22:13:10 +02:00
parent 3c841e885f
commit c2c0fce93a
No known key found for this signature in database
GPG Key ID: B917EC80CFA48D8D
1 changed files with 1 additions and 1 deletions

View File

@ -34,7 +34,7 @@ if minetest.is_yes(minetest.settings:get_bool('weather_fast_pc')) then
neighbors = {"default:air"},
interval = 10.0,
chance = 80,
action = function (pos, node, active_object_count, active_object_count_wider)
action = function (pos, node)
if weather.type == "weather:snow" then
if minetest.registered_nodes[node.name].drawtype == "normal"
or minetest.registered_nodes[node.name].drawtype == "allfaces_optional" then