Fix manual production batch size

This commit is contained in:
Minz committed 2024-08-18 19:37:35 +02:00
1 parent 4b83793066
commit 19e2280875
1 file changed
+1
+1
View File
@@ -69,6 +69,7 @@ public class Facility : MonoBehaviour
if (gameManager.GetResourceCount(inputResource) < materialConsumption) return; //Not enough material if (gameManager.GetResourceCount(inputResource) < materialConsumption) return; //Not enough material
currentProductionBatch = 1;
gameManager.RemoveResource(inputResource, materialConsumption); gameManager.RemoveResource(inputResource, materialConsumption);
currentProcess = processingTime; currentProcess = processingTime;
processing = true; processing = true;