mirror of
https://github.com/curioustorvald/Terrarum.git
synced 2026-03-07 20:31:51 +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
|
||||
if (oreItem != null &&
|
||||
fuelCaloriesNow > 0f &&
|
||||
temperature > 0f &&
|
||||
oreItemProp?.smeltingProduct != null &&
|
||||
(productItem == null || oreItemProp.smeltingProduct == productItem!!.itm)
|
||||
) {
|
||||
|
||||
Reference in New Issue
Block a user