Fix fg/bg texture setting in register_furnace
If a custom fire_bg texture had been provided (not currently done within the modpack itself), fire_fg would have been set to that instead of the provided fire_fg or default.master^2
parent
d897e6d97c
commit
97e7a31830
|
@ -80,7 +80,7 @@ local furnace_can_dig = function(pos,player)
|
|||
end
|
||||
|
||||
function homedecor.register_furnace(name, furnacedef)
|
||||
furnacedef.fire_fg = furnacedef.fire_bg or "default_furnace_fire_fg.png"
|
||||
furnacedef.fire_fg = furnacedef.fire_fg or "default_furnace_fire_fg.png"
|
||||
furnacedef.fire_bg = furnacedef.fire_bg or "default_furnace_fire_bg.png"
|
||||
|
||||
furnacedef.output_slots = furnacedef.output_slots or 4
|
||||
|
|
Loading…
Reference in New Issue