Skip to content

Commit

Permalink
for Metako 🙃
Browse files Browse the repository at this point in the history
  • Loading branch information
zoton2 committed Dec 10, 2023
1 parent 2e50b1d commit d00d517
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/graphics/omnibar/components/Total.vue
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,10 @@ export default class extends Vue {
}
get totalStr(): string {
return `$${Math.floor(this.total).toLocaleString('en-US', { maximumFractionDigits: 0 })}`;
let val = this.total;
// "Reset" value every 10k, specific to ESA Legends 2023.
if (nodecg.bundleConfig.event.shorts === 'esal23') val = this.total % 10000;
return `$${Math.floor(val).toLocaleString('en-US', { maximumFractionDigits: 0 })}`;
}
async playNextAlert(start = false): Promise<void> {
Expand Down

0 comments on commit d00d517

Please sign in to comment.