fix weather not being clientside

This commit is contained in:
theFox6 2020-04-15 12:42:04 +02:00 committed by GitHub
parent 3d9c292590
commit 7e18055748
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -170,7 +170,7 @@ local function weather_step()
minsize=current_downfall.size, maxsize=current_downfall.size,
collisiondetection=true, collision_removal=true,
vertical=true,
texture=current_downfall.texture, player=player:get_player_name()
texture=current_downfall.texture, playername=player:get_player_name()
})
local downfall_origin = vector.divide(vector.add(minp,maxp),2)
@ -203,4 +203,4 @@ minetest.register_globalstep(function()
end
weather_step()
end)
end)