Skip to content

Commit

Permalink
char and wepon sprte scale align
Browse files Browse the repository at this point in the history
  • Loading branch information
jjppof committed May 14, 2024
1 parent e1159e3 commit 3ce85e9
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions base/battle/PlayerSprite.ts
Original file line number Diff line number Diff line change
Expand Up @@ -298,6 +298,7 @@ export class PlayerSprite {
this.weapon_sprite.anchor.setTo(0.5, 1);
this.weapon_sprite.y += player.weapon_sprite_shift;
player.weapons_sprite_base.setAnimation(this.weapon_sprite, this.current_weapon_type);
this.weapon_sprite.scale.setTo(player.battle_scale, player.battle_scale);
}
}
}
Expand Down

0 comments on commit 3ce85e9

Please sign in to comment.