mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2025-08-19 22:09:27 +02:00
Ensuring that label text updates correctly
This commit is contained in:
parent
1e786a72b8
commit
1a0765ea18
@ -4217,10 +4217,8 @@ export class StarterSelectUiHandler extends MessageUiHandler {
|
|||||||
textStyle = TextStyle.SUMMARY_GOLD;
|
textStyle = TextStyle.SUMMARY_GOLD;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
if (baseStarterValue - starterValue > 0) {
|
|
||||||
starter.label.setColor(this.getTextColor(textStyle)).setShadowColor(this.getTextColor(textStyle, true));
|
starter.label.setColor(this.getTextColor(textStyle)).setShadowColor(this.getTextColor(textStyle, true));
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
||||||
tryUpdateValue(add?: number, addingToParty?: boolean): boolean {
|
tryUpdateValue(add?: number, addingToParty?: boolean): boolean {
|
||||||
const value = this.starterSpecies
|
const value = this.starterSpecies
|
||||||
|
Loading…
Reference in New Issue
Block a user