mirror of
https://gitlab.icynet.eu/evert/melterns.git
synced 2024-11-23 23:43:46 +01:00
Oops, this if statement walked away.
This commit is contained in:
parent
ba9934d225
commit
cbefa2c9c1
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user