Anomaly Generator Tweaks (#13856)
This commit is contained in:
@@ -37,7 +37,9 @@ public sealed partial class AnomalyGeneratorWindow : FancyWindow
|
||||
var fuelCompletion = Math.Clamp((float) state.FuelAmount / state.FuelCost, 0f, 1f);
|
||||
|
||||
FuelBar.Value = fuelCompletion;
|
||||
FuelText.Text = $"{fuelCompletion:P}";
|
||||
|
||||
var charges = state.FuelAmount / state.FuelCost;
|
||||
FuelText.Text = Loc.GetString("anomaly-generator-charges", ("charges", charges));
|
||||
|
||||
UpdateTimer();
|
||||
UpdateReady(); // yes this can trigger twice. no i don't care
|
||||
|
||||
Reference in New Issue
Block a user