summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWuzzy <almikes@aol.com>2017-05-28 05:19:33 +0200
committerWuzzy <almikes@aol.com>2017-05-28 05:19:33 +0200
commit68af06d9c05ee55d4f818fb94ad19c07d24d54d3 (patch)
tree7882733b72c1795c14f724b7083affb4d48583e4
parent7006e5f708b898cb1ac62e6b9fec7bcd4addc854 (diff)
Fix liquid factoid being disappered
-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