fix weather not being clientside
This commit is contained in:
parent
3d9c292590
commit
7e18055748
|
@ -170,7 +170,7 @@ local function weather_step()
|
||||||
minsize=current_downfall.size, maxsize=current_downfall.size,
|
minsize=current_downfall.size, maxsize=current_downfall.size,
|
||||||
collisiondetection=true, collision_removal=true,
|
collisiondetection=true, collision_removal=true,
|
||||||
vertical=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)
|
local downfall_origin = vector.divide(vector.add(minp,maxp),2)
|
||||||
|
@ -203,4 +203,4 @@ minetest.register_globalstep(function()
|
||||||
end
|
end
|
||||||
|
|
||||||
weather_step()
|
weather_step()
|
||||||
end)
|
end)
|
||||||
|
|
Loading…
Reference in New Issue