Add missing chain usage

This commit is contained in:
Sirz Benjie 2025-04-23 12:14:41 -05:00
parent 04664f17bd
commit 6be61e5414
No known key found for this signature in database
GPG Key ID: 4A524B4D196C759E

View File

@ -178,8 +178,7 @@ export class EnemyBattleInfo extends BattleInfo {
this.hpBar.height - (uiTheme ? 0 : 1),
pokemon.bossSegmentIndex >= s ? 0xffffff : 0x404040,
);
divider.setOrigin(0.5, 0);
divider.setName("hpBar_divider_" + s.toString());
divider.setOrigin(0.5, 0).setName("hpBar_divider_" + s.toString());
this.add(divider);
this.moveBelow(divider as Phaser.GameObjects.GameObject, this.statsContainer);