diff options
author | Wuzzy <almikes@aol.com> | 2016-08-03 23:39:14 +0200 |
---|---|---|
committer | Wuzzy <almikes@aol.com> | 2016-08-03 23:39:14 +0200 |
commit | cbb2562a58683d3f3fcff864661b295c1223f703 (patch) | |
tree | 95ef41bf032a5721d83daee1d13b100410215415 | |
parent | 854659f135f65e16dcd532594ed909554e4b66ac (diff) |
Fix variable bug
-rw-r--r-- | init.lua | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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" |