round player position, #20 could be fixed

M  src/falling_snow.lua
This commit is contained in:
HybridDog 2016-08-21 09:07:00 +02:00
parent 6affec0a56
commit b1a7d12b90
1 changed files with 1 additions and 1 deletions

View File

@ -238,7 +238,7 @@ end
local lighter_snowfall = snow.lighter_snowfall
local function calc_snowfall()
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...
if get_snow(ppos)