[Bug] [UI/UX] [Beta] Fix icons not showing in save slot selection (#6262)

Fix icons not showing in save slot selection
This commit is contained in:
Sirz Benjie 2025-08-13 20:49:46 -05:00 committed by GitHub
parent 23271901cf
commit 076ef81691
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -594,13 +594,9 @@ class SessionSlot extends Phaser.GameObjects.Container {
TextStyle.PARTY, TextStyle.PARTY,
{ fontSize: "54px", color: "#f8f8f8" }, { fontSize: "54px", color: "#f8f8f8" },
); );
text.setShadow(0, 0, undefined); text.setShadow(0, 0, undefined).setStroke("#424242", 14).setOrigin(1, 0);
text.setStroke("#424242", 14);
text.setOrigin(1, 0);
iconContainer.add(icon);
iconContainer.add(text);
iconContainer.add([icon, text]);
pokemonIconsContainer.add(iconContainer); pokemonIconsContainer.add(iconContainer);
pokemon.destroy(); pokemon.destroy();
@ -645,6 +641,7 @@ class SessionSlot extends Phaser.GameObjects.Container {
return; return;
} }
this.saveData = sessionData; this.saveData = sessionData;
this.setupWithData(sessionData);
resolve(true); resolve(true);
}) })
.catch(e => { .catch(e => {