Minor UI polish

This commit is contained in:
2024-08-18 22:36:00 +02:00
parent fedf29bebe
commit 6171f3e1f4
8 changed files with 65 additions and 54 deletions

View File

@@ -53,13 +53,14 @@ public class Facility : MonoBehaviour
if(currentProcess > 0)
{
currentProcess -= Time.deltaTime;
currentProgressLabel.text = currentProcess.ToString();
currentProgressLabel.text = currentProcess.ToString("N1");
}
if (currentProcess <= 0){
currentProcess = processingTime;
processing = false;
gameManager.AddResource(outputResource, currentProductionBatch * baseOutput);
currentProgressLabel.text = "Idle";
}
}