Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update TimerBar.js
Browse files Browse the repository at this point in the history
Found another occurence of the previous formatting error.
DarkThor76 authored Oct 11, 2024
1 parent 0823f0d commit f23ccb0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Disp/InfoBars/TimerBar.js
Original file line number Diff line number Diff line change
@@ -133,7 +133,7 @@ export function UpdateTimerBar() {
updateChanceTotal(chanceToSpawn);
l('CMTimerBarGCTime').textContent = `${Math.ceil(
(Game.shimmerTypes.golden.maxTime - Game.shimmerTypes.golden.time) / Game.fps,
)} ${getChanceFinal() < 0.01 ? '<' : ''}${(getChanceFinal() + 0.01).toLocaleString('en', { // "<0%" makes no sense. Should be offset by 0.01 (1%).
)} ${getChanceFinal() < 0.01 ? '<' : ''}${(0.01).toLocaleString('en', { // "<0%" makes no sense. Should be offset by 0.01 (1%).
style: 'percent',
})}`;
numberOfTimers += 1;
@@ -177,7 +177,7 @@ export function UpdateTimerBar() {
updateChanceTotalDeer(chanceToSpawn);
l('CMTimerBarRenTime').textContent = `${Math.ceil(
(Game.shimmerTypes.reindeer.maxTime - Game.shimmerTypes.reindeer.time) / Game.fps,
)} ${getChanceFinalDeer() < 0.01 ? '<' : ''}${getChanceFinalDeer().toLocaleString('en', {
)} ${getChanceFinalDeer() < 0.01 ? '<' : ''}${(0.01).toLocaleString('en', { // "<0%" makes no sense. Should be offset by 0.01 (1%).
style: 'percent',
})}`;
numberOfTimers += 1;

0 comments on commit f23ccb0

Please sign in to comment.