Don't show points for voucher unlocks

This commit is contained in:
Flashfyre 2024-03-28 14:36:39 -04:00
parent 0afec8fd35
commit 97add6e748

View File

@ -59,6 +59,7 @@ export default class AchvBar extends Phaser.GameObjects.Container {
this.bg.setTexture(`achv_bar${tier ? `_${tier + 1}` : ''}`); this.bg.setTexture(`achv_bar${tier ? `_${tier + 1}` : ''}`);
this.icon.setFrame(achv.getIconImage()); this.icon.setFrame(achv.getIconImage());
this.titleText.setText(achv.getName()); this.titleText.setText(achv.getName());
this.scoreText.setVisible(achv instanceof Achv);
this.descriptionText.setText(achv.description); this.descriptionText.setText(achv.description);
if (achv instanceof Achv) if (achv instanceof Achv)