mirror of
https://github.com/curioustorvald/Terrarum.git
synced 2026-03-14 15:46:06 +09:00
fix: [bug] remaining heat on the smelter is wasted if no fuel was burning
This commit is contained in:
@@ -250,7 +250,7 @@ class FixtureSmelterBasic : FixtureBase, CraftingStation {
|
|||||||
|
|
||||||
// roast items
|
// roast items
|
||||||
if (oreItem != null &&
|
if (oreItem != null &&
|
||||||
fuelCaloriesNow > 0f &&
|
temperature > 0f &&
|
||||||
oreItemProp?.smeltingProduct != null &&
|
oreItemProp?.smeltingProduct != null &&
|
||||||
(productItem == null || oreItemProp.smeltingProduct == productItem!!.itm)
|
(productItem == null || oreItemProp.smeltingProduct == productItem!!.itm)
|
||||||
) {
|
) {
|
||||||
|
|||||||
Reference in New Issue
Block a user