Ensuring that label text updates correctly

This commit is contained in:
Wlowscha 2025-08-16 22:51:22 +02:00
parent 1e786a72b8
commit 1a0765ea18
No known key found for this signature in database
GPG Key ID: 3C8F1AD330565D04

View File

@ -4217,9 +4217,7 @@ 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 {