From 9bbee12fe3ddc98c15d2de8635a952084f4281d8 Mon Sep 17 00:00:00 2001 From: Flashfyre Date: Tue, 27 Feb 2024 20:48:58 -0500 Subject: [PATCH] Fix offset icons in double battle --- src/ui/battle-info.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ui/battle-info.ts b/src/ui/battle-info.ts index af1ea5f12..cb567118b 100644 --- a/src/ui/battle-info.ts +++ b/src/ui/battle-info.ts @@ -203,7 +203,7 @@ export default class BattleInfo extends Phaser.GameObjects.Container { if (this.player) 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)); this.shinyIcon.setPositionRelative(this.levelContainer, -12, -5);