fixed ticket number printing being a bit weird
This commit is contained in:
parent
2fc66ff478
commit
8e3f4812d6
1 changed files with 2 additions and 2 deletions
|
@ -65,7 +65,7 @@ namespace TouchyTickets {
|
|||
ticketGroup.AddChild(new Paragraph(Anchor.AutoCenter, 10000, p => PrettyPrintNumber(GameImpl.Instance.Tickets) + "<i ticket>", true) {
|
||||
TextScale = 0.3F
|
||||
});
|
||||
ticketGroup.AddChild(new Paragraph(Anchor.AutoCenter, 1, p => GameImpl.Instance.Map.TicketsPerSecond.ToString("0,#.##") + "<i ticket>/s", true) {
|
||||
ticketGroup.AddChild(new Paragraph(Anchor.AutoCenter, 1, p => GameImpl.Instance.Map.TicketsPerSecond.ToString("#,0.##") + "<i ticket>/s", true) {
|
||||
PositionOffset = new Vector2(0, -8)
|
||||
});
|
||||
BigInteger lastTickets = 0;
|
||||
|
@ -472,7 +472,7 @@ namespace TouchyTickets {
|
|||
return string.Empty;
|
||||
var pos = map.SelectedPosition.Value;
|
||||
var attraction = map.GetAttractionAt(pos);
|
||||
return attraction.GetGenerationRate(map, pos).ToString("0,#.##") + "<i ticket>/s";
|
||||
return attraction.GetGenerationRate(map, pos).ToString("#,0.##") + "<i ticket>/s";
|
||||
}, true));
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue