This commit is contained in:
2025-11-22 17:15:14 +08:00
parent b67a42ade1
commit 5b1c9ca5ec
4 changed files with 12 additions and 4 deletions

View File

@@ -483,8 +483,13 @@ namespace WulaFallenEmpire
else if (order.state == GlobalProductionOrder.ProductionState.Gathering)
{
string statusText = "WULA_GatheringMaterials".Translate();
if (order.paused) statusText = $"[||] {statusText}";
if (order.paused)
{
GUI.color = Color.yellow;
statusText = "WULA_Paused".Translate() + ": " + statusText;
}
Widgets.Label(statusRect, statusText);
GUI.color = Color.white;
}
else
{
@@ -497,10 +502,12 @@ namespace WulaFallenEmpire
if (order.paused && order.state != GlobalProductionOrder.ProductionState.Completed)
{
statusText = $"[||] {statusText}";
GUI.color = Color.yellow;
statusText = "WULA_Paused".Translate() + ": " + statusText;
}
Widgets.Label(statusRect, statusText);
GUI.color = Color.white;
}
// 控制按钮区域