mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2025-01-30 20:57:13 +00:00
Don't show wave on weekly scoreboard
This commit is contained in:
parent
ad7b80cb60
commit
cea956e196
@ -116,8 +116,15 @@ export class DailyRunScoreboard extends Phaser.GameObjects.Container {
|
|||||||
const scoreLabel = addTextObject(this.scene, 84, 0, score, TextStyle.WINDOW, { fontSize: '54px' });
|
const scoreLabel = addTextObject(this.scene, 84, 0, score, TextStyle.WINDOW, { fontSize: '54px' });
|
||||||
entryContainer.add(scoreLabel);
|
entryContainer.add(scoreLabel);
|
||||||
|
|
||||||
const waveLabel = addTextObject(this.scene, 68, 0, wave, TextStyle.WINDOW, { fontSize: '54px' });
|
switch (this.category) {
|
||||||
entryContainer.add(waveLabel);
|
case ScoreboardCategory.DAILY:
|
||||||
|
const waveLabel = addTextObject(this.scene, 68, 0, wave, TextStyle.WINDOW, { fontSize: '54px' });
|
||||||
|
entryContainer.add(waveLabel);
|
||||||
|
break;
|
||||||
|
case ScoreboardCategory.WEEKLY:
|
||||||
|
scoreLabel.x -= 16;
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
|
||||||
return entryContainer;
|
return entryContainer;
|
||||||
};
|
};
|
||||||
|
Loading…
x
Reference in New Issue
Block a user