mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-11-27 01:53:48 +01:00
Fixed absurdly high skill counter on UI
This commit is contained in:
parent
a05335d6e2
commit
6314000bd0
@ -75,7 +75,10 @@ class NumeralFormatter {
|
|||||||
}
|
}
|
||||||
|
|
||||||
formatSkill(n: number): string {
|
formatSkill(n: number): string {
|
||||||
return this.format(n, "0,0");
|
if(n < 1e15){
|
||||||
|
return this.format(n, "0,0");
|
||||||
|
}
|
||||||
|
return this.formatAbsurdNumber(n, 3);
|
||||||
}
|
}
|
||||||
|
|
||||||
formatExp(n: number): string {
|
formatExp(n: number): string {
|
||||||
|
Loading…
Reference in New Issue
Block a user