Level up modal skill position

This commit is contained in:
Martin 2023-01-17 08:30:20 +01:00
parent 01f347d339
commit b4f3b3e6f3

View File

@ -20,7 +20,7 @@ export class LevelUpModalWindow extends ModalWindow<LevelUpModalWindowParams, Up
if (this.maxUpgradesToPick < shuffledAvailableUpgrades.length) { if (this.maxUpgradesToPick < shuffledAvailableUpgrades.length) {
shuffledAvailableUpgrades.length = this.maxUpgradesToPick; shuffledAvailableUpgrades.length = this.maxUpgradesToPick;
} }
const xPositions: number[] = [-180, 0, 180]; const xPositions: number[] = [-172, 0, 172];
await delay(300); await delay(300);
for (let i = 0; i < shuffledAvailableUpgrades.length; i++) { for (let i = 0; i < shuffledAvailableUpgrades.length; i++) {
await delay(500); await delay(500);