Oops, this if statement walked away.

This commit is contained in:
Evert Prants 2018-04-04 21:03:35 +03:00
parent ba9934d225
commit cbefa2c9c1
Signed by: evert
GPG Key ID: 1688DA83D222D0B5
1 changed files with 1 additions and 1 deletions

View File

@ -245,7 +245,7 @@ local function melter_node_timer(pos, elapsed)
local mt, t = metal_melter.get_metal_from_stack(input)
if mt then
local metal_name = fluidity.molten_metals[mt]
if metal_name then
if metal_name and (metal == "" or metal == metal_name) then
local cnt = metal_melter.spec[t]
local heat_consume = math.floor(cnt / 2)
if metal_count + cnt <= metal_melter.max_metal and heat_count >= heat_consume then