From cbb2562a58683d3f3fcff864661b295c1223f703 Mon Sep 17 00:00:00 2001 From: Wuzzy Date: Wed, 3 Aug 2016 23:39:14 +0200 Subject: Fix variable bug --- init.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/init.lua b/init.lua index 1e6cfe3..3efa974 100644 --- a/init.lua +++ b/init.lua @@ -202,7 +202,7 @@ doc.new_category("nodes", { local range, renew, viscos if data.def.liquid_range then range = data.def.liquid_range else range = 8 end if data.def.liquid_renewable ~= nil then renew = data.def.liquid_renewable else renew = true end - if data.def.liquid_viscosity then viscos = data.def.liquid_viscosity else viscosity = 0 end + if data.def.liquid_viscosity then viscos = data.def.liquid_viscosity else viscos = 0 end formstring = formstring .. "Liquid range: "..range.. "\n" formstring = formstring .. "Liquid viscosity: "..viscos.. "\n" formstring = formstring .. "Renewable liquid: "..yesno(renew).. "\n" -- cgit v1.2.3