mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2025-03-13 05:15:17 +00:00
Fix issue with shiny star placement in starter-select-ui-handler.ts (#1512)
This commit is contained in:
parent
4695d0617d
commit
1420c26f22
@ -453,7 +453,7 @@ export default class StarterSelectUiHandler extends MessageUiHandler {
|
||||
|
||||
const getShinyStar = (i: integer, v: integer): Phaser.GameObjects.Image => {
|
||||
const position = calcIconPosition(i);
|
||||
const ret = this.scene.add.image(position.x + 163, position.y + 11, "shiny_star_small");
|
||||
const ret = this.scene.add.image((position.x - v * 3) + 163, position.y + 11, "shiny_star_small");
|
||||
ret.setOrigin(0, 0);
|
||||
ret.setScale(0.5);
|
||||
ret.setVisible(false);
|
||||
|
Loading…
x
Reference in New Issue
Block a user