Item spawn update.

This commit is contained in:
Daniel Tyomin
2024-08-19 00:26:03 +02:00
parent b58dc516e1
commit 1b0cf8d159
6 changed files with 127 additions and 22 deletions

View File

@@ -62,7 +62,7 @@ public class Converter: MonoBehaviour, IResetable
if (inputProducts[0].Type == expectedReagent)
{
Spawner.SpawnProduct(conversionProduct);
Spawner.SpawnProduct(conversionProduct, currentProduct.Defect);
inputProducts.RemoveAt(0);
Destroy(currentProduct);
}