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:
parent
cba90d4441
commit
413f0d0353
6 changed files with 16 additions and 4 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue