1
0
Fork 0
mirror of https://github.com/luanti-org/luanti.git synced 2025-06-27 16:36:03 +00:00

Add liquid_range to nodedef

This commit is contained in:
PilzAdam 2013-07-16 16:28:18 +02:00 committed by RealBadAngel
parent cba90d4441
commit 413f0d0353
6 changed files with 16 additions and 4 deletions

View file

@ -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);