summaryrefslogtreecommitdiff
path: root/core/src/kz/ilotterytea/maxon/ui
diff options
context:
space:
mode:
authorilotterytea <iltsu@alright.party>2024-10-25 21:42:30 +0500
committerilotterytea <iltsu@alright.party>2024-10-25 21:42:30 +0500
commitd9ccdc541f76bd93585b50803e4c018228672043 (patch)
treeeb5d99e958d9ed8f4e34b5370335283f3e9177f7 /core/src/kz/ilotterytea/maxon/ui
parente97010bd0bbe83b4a567d921d60cc023fa7d2d8d (diff)
upd: number formatter
Diffstat (limited to 'core/src/kz/ilotterytea/maxon/ui')
-rw-r--r--core/src/kz/ilotterytea/maxon/ui/SavegameWidget.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/core/src/kz/ilotterytea/maxon/ui/SavegameWidget.java b/core/src/kz/ilotterytea/maxon/ui/SavegameWidget.java
index 2d12f86..364a793 100644
--- a/core/src/kz/ilotterytea/maxon/ui/SavegameWidget.java
+++ b/core/src/kz/ilotterytea/maxon/ui/SavegameWidget.java
@@ -101,7 +101,7 @@ public class SavegameWidget extends Table implements Disposable {
Image pointsIcon = new Image(atlas.findRegion("points"));
data.add(pointsIcon).size(iconSize, iconSize).padRight(8f);
- Label points = new Label(NumberFormatter.format((long) savegame.getMoney()), skin, styleName);
+ Label points = new Label(NumberFormatter.format(savegame.getMoney(), false), skin, styleName);
data.add(points).padRight(iconSize);
// Unit
@@ -121,7 +121,7 @@ public class SavegameWidget extends Table implements Disposable {
Image multiplierIcon = new Image(atlas.findRegion("multiplier"));
data.add(multiplierIcon).size(iconSize, iconSize).padRight(8f);
- Label multiplier = new Label(NumberFormatter.format((long) savegame.getMultiplier()), skin, styleName);
+ Label multiplier = new Label(NumberFormatter.format(savegame.getMultiplier()), skin, styleName);
data.add(multiplier);
this.dataTable.add(data).grow();