aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSoopyboo32 <49228220+Soopyboo32@users.noreply.github.com>2022-09-25 09:14:29 +0800
committerSoopyboo32 <49228220+Soopyboo32@users.noreply.github.com>2022-09-25 09:14:29 +0800
commitb58c986f5a6cabb93e75a8294ed3adfe37291cc6 (patch)
tree1a76ab29aad6536344f7e59f4de0ca22d9bcd269
parentbe10b55d3794b70d96b39b9bed10268c47f3c905 (diff)
downloadSoopyV2-b58c986f5a6cabb93e75a8294ed3adfe37291cc6.tar.gz
SoopyV2-b58c986f5a6cabb93e75a8294ed3adfe37291cc6.tar.bz2
SoopyV2-b58c986f5a6cabb93e75a8294ed3adfe37291cc6.zip
fix formatting on bestiary display
-rw-r--r--src/features/bestiary/index.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/features/bestiary/index.js b/src/features/bestiary/index.js
index 8d00122..e9106c5 100644
--- a/src/features/bestiary/index.js
+++ b/src/features/bestiary/index.js
@@ -115,7 +115,7 @@ class Bestiary extends Feature {
getBestiaryCount(id) {
if (!this.bestiaryData[id]) return "???"
- return `${this.bestiaryData[id].tier}&7:&f ${this.bestiaryData[id].killsThisTier}&7/&f${this.bestiaryData[id].killsForNext}`
+ return `${this.bestiaryData[id].tier}&7:&f ${numberWithCommas(this.bestiaryData[id].killsThisTier)}&7/&f${numberWithCommas(this.bestiaryData[id].killsForNext)}`
}
updateHudElements() {
@@ -132,7 +132,7 @@ class Bestiary extends Feature {
let type = stat.type.getValue()
- stat.textElement.setText(`&6${this.bestiaryStatTypes[type]}&7> &f${numberWithCommas(this.getBestiaryCount(type))}`)
+ stat.textElement.setText(`&6${this.bestiaryStatTypes[type]}&7> &f${this.getBestiaryCount(type)}`)
} else {
stat.textElement.setText("")
}