[P3 Bug] Run Result 'Victory!' Text not displaying correctly in Legacy UI Mode (#4223)
* idk what happened to legacy-summary:x * Let's change it up. --------- Co-authored-by: frutescens <info@laptop>
This commit is contained in:
parent
acb2b66be4
commit
c76827156c
|
@ -180,9 +180,9 @@ export default class RunInfoUiHandler extends UiHandler {
|
||||||
private async parseRunResult() {
|
private async parseRunResult() {
|
||||||
const genderIndex = this.scene.gameData.gender ?? PlayerGender.UNSET;
|
const genderIndex = this.scene.gameData.gender ?? PlayerGender.UNSET;
|
||||||
const genderStr = PlayerGender[genderIndex];
|
const genderStr = PlayerGender[genderIndex];
|
||||||
const runResultTextStyle = this.isVictory ? TextStyle.SUMMARY : TextStyle.SUMMARY_RED;
|
const runResultTextStyle = this.isVictory ? TextStyle.PERFECT_IV : TextStyle.SUMMARY_RED;
|
||||||
const runResultTitle = this.isVictory ? i18next.t("runHistory:victory") : i18next.t("runHistory:defeated", { context: genderStr });
|
const runResultTitle = this.isVictory ? i18next.t("runHistory:victory") : i18next.t("runHistory:defeated", { context: genderStr });
|
||||||
const runResultText = addBBCodeTextObject(this.scene, 6, 5, `${runResultTitle} - ${i18next.t("saveSlotSelectUiHandler:wave")} ${this.runInfo.waveIndex}`, runResultTextStyle, {fontSize : "65px", lineSpacing: 0.1});
|
const runResultText = addTextObject(this.scene, 6, 5, `${runResultTitle} - ${i18next.t("saveSlotSelectUiHandler:wave")} ${this.runInfo.waveIndex}`, runResultTextStyle, {fontSize : "65px", lineSpacing: 0.1});
|
||||||
|
|
||||||
if (this.isVictory) {
|
if (this.isVictory) {
|
||||||
const hallofFameInstructionContainer = this.scene.add.container(0, 0);
|
const hallofFameInstructionContainer = this.scene.add.container(0, 0);
|
||||||
|
|
Loading…
Reference in New Issue