summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWuzzy <almikes@aol.com>2016-08-03 23:39:14 +0200
committerWuzzy <almikes@aol.com>2016-08-03 23:39:14 +0200
commitcbb2562a58683d3f3fcff864661b295c1223f703 (patch)
tree95ef41bf032a5721d83daee1d13b100410215415
parent854659f135f65e16dcd532594ed909554e4b66ac (diff)
Fix variable bug
-rw-r--r--init.lua2
1 files changed, 1 insertions, 1 deletions
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"