Fix offset icons in double battle

pull/16/head
Flashfyre 2024-02-27 20:48:58 -05:00
parent 822c83e469
commit 9bbee12fe3
1 changed files with 1 additions and 1 deletions

View File

@ -203,7 +203,7 @@ export default class BattleInfo extends Phaser.GameObjects.Container {
if (this.player) if (this.player)
this.y -= 12 * (mini ? 1 : -1); this.y -= 12 * (mini ? 1 : -1);
const offsetElements = [ this.nameText, this.genderText, this.statusIndicator, this.levelContainer ]; const offsetElements = [ this.nameText, this.genderText, this.teraIcon, this.splicedIcon, this.statusIndicator, this.levelContainer ];
offsetElements.forEach(el => el.y += 1.5 * (mini ? -1 : 1)); offsetElements.forEach(el => el.y += 1.5 * (mini ? -1 : 1));
this.shinyIcon.setPositionRelative(this.levelContainer, -12, -5); this.shinyIcon.setPositionRelative(this.levelContainer, -12, -5);