mirror of
https://github.com/Splizard/minetest-mod-snow.git
synced 2024-12-28 23:40:17 +01:00
parent
6affec0a56
commit
b1a7d12b90
@ -238,7 +238,7 @@ end
|
|||||||
local lighter_snowfall = snow.lighter_snowfall
|
local lighter_snowfall = snow.lighter_snowfall
|
||||||
local function calc_snowfall()
|
local function calc_snowfall()
|
||||||
for _, player in pairs(minetest.get_connected_players()) do
|
for _, player in pairs(minetest.get_connected_players()) do
|
||||||
local ppos = player:getpos()
|
local ppos = vector.round(player:getpos())
|
||||||
|
|
||||||
-- Make sure player is not in a cave/house...
|
-- Make sure player is not in a cave/house...
|
||||||
if get_snow(ppos)
|
if get_snow(ppos)
|
||||||
|
Loading…
Reference in New Issue
Block a user