merge upstream commit: Remove unused and clean up missused variable-value assignments.

This commit is contained in:
Tim 2016-06-26 13:34:14 +02:00 committed by tchncs
parent 5b36a03f02
commit 0c3d4135e1
14 changed files with 634 additions and 30 deletions

View file

@ -111,7 +111,6 @@ local function furnace_node_timer(pos, elapsed)
local inv = meta:get_inventory()
local srclist = inv:get_list("src")
local fuellist = inv:get_list("fuel")
local dstlist = inv:get_list("dst")
--
-- Cooking
@ -172,7 +171,7 @@ local function furnace_node_timer(pos, elapsed)
-- Update formspec, infotext and node
--
local formspec = inactive_formspec
local item_state = ""
local item_state
local item_percent = 0
if cookable then
item_percent = math.floor(src_time / cooked.time * 100)