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