From b1badd332bac543b6b8420a9e5cc7de3ae45a6f8 Mon Sep 17 00:00:00 2001 From: HybridDog Date: Tue, 5 May 2015 20:03:42 +0200 Subject: [PATCH] fix another mistake --- src/falling_snow.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/falling_snow.lua b/src/falling_snow.lua index 1497914..e6b58b2 100644 --- a/src/falling_snow.lua +++ b/src/falling_snow.lua @@ -90,7 +90,7 @@ local get_snow = function(pos) local perlin1 = minetest.get_perlin(112,3, 0.5, 150) local x = pos.x local y = pos.z - if perlin1:get2d({x, y}) <= 0.53 then + if perlin1:get2d({x=x, y=y}) <= 0.53 then return false end