summaryrefslogtreecommitdiff
path: root/init.lua
diff options
context:
space:
mode:
Diffstat (limited to 'init.lua')
-rw-r--r--init.lua3
1 files changed, 1 insertions, 2 deletions
diff --git a/init.lua b/init.lua
index f0ba812..baa3ef4 100644
--- a/init.lua
+++ b/init.lua
@@ -592,10 +592,9 @@ doc.add_category("nodes", {
formstring = entry_image(data)
datastring = factoids_header(data, "nodes")
+ local liquid = data.def.liquidtype ~= "none"
if not forbidden_core_factoids.basics then
datastring = datastring .. S("Collidable: @1", yesno(data.def.walkable)) .. "\n"
- local liquid
- if data.def.liquidtype ~= "none" then liquid = true else liquid = false end
if data.def.pointable == true then
datastring = datastring .. S("Pointable: Yes") .. "\n"
elseif liquid then