Fix upgrade sorting on firefox #780

This commit is contained in:
Daniël van Noord
2021-05-01 23:15:48 +02:00
parent f95609a36d
commit fa70faf386
5 changed files with 5 additions and 4 deletions

View File

@@ -72,6 +72,7 @@ export default function UpdateUpgrades() {
o.name = Game.UpgradesInStore[x].name;
o.price = Game.UpgradesInStore[x].basePrice;
o.pp = CacheUpgrades[o.name].pp;
o.color = CacheUpgrades[o.name].color;
arr.push(o);
}

View File

@@ -23,7 +23,6 @@ export const ColourGray = 'Gray';
export const ColourPink = 'Pink';
export const ColourBrown = 'Brown';
export const ColoursOrdering = [
ColourGray,
ColourBlue,
ColourGreen,
ColourYellow,
@@ -32,6 +31,7 @@ export const ColoursOrdering = [
ColourPurple,
ColourPink,
ColourBrown,
ColourGray,
];
/**