From 413f0d0353d49d7baed32540d73cbec99e35658a Mon Sep 17 00:00:00 2001 From: PilzAdam Date: Tue, 16 Jul 2013 16:28:18 +0200 Subject: Add liquid_range to nodedef --- src/script/common/c_content.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/script/common') diff --git a/src/script/common/c_content.cpp b/src/script/common/c_content.cpp index 7b80cc5ee..7d18454fd 100644 --- a/src/script/common/c_content.cpp +++ b/src/script/common/c_content.cpp @@ -391,6 +391,8 @@ ContentFeatures read_content_features(lua_State *L, int index) // the slowest possible f.liquid_viscosity = getintfield_default(L, index, "liquid_viscosity", f.liquid_viscosity); + f.liquid_range = getintfield_default(L, index, + "liquid_range", f.liquid_range); f.leveled = getintfield_default(L, index, "leveled", f.leveled); getboolfield(L, index, "liquid_renewable", f.liquid_renewable); -- cgit v1.2.3