Fix manual production batch size

This commit is contained in:
Minz authored and Minz committed 2024-08-18 21:54:30 +02:00
1 parent 762d982929
commit 6303d8c2fa
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;