Fix upgrade sorting on firefox #780
This commit is contained in:
File diff suppressed because one or more lines are too long
2
dist/CookieMonster.js
vendored
2
dist/CookieMonster.js
vendored
File diff suppressed because one or more lines are too long
2
dist/CookieMonster.js.map
vendored
2
dist/CookieMonster.js.map
vendored
File diff suppressed because one or more lines are too long
@@ -72,6 +72,7 @@ export default function UpdateUpgrades() {
|
|||||||
o.name = Game.UpgradesInStore[x].name;
|
o.name = Game.UpgradesInStore[x].name;
|
||||||
o.price = Game.UpgradesInStore[x].basePrice;
|
o.price = Game.UpgradesInStore[x].basePrice;
|
||||||
o.pp = CacheUpgrades[o.name].pp;
|
o.pp = CacheUpgrades[o.name].pp;
|
||||||
|
o.color = CacheUpgrades[o.name].color;
|
||||||
arr.push(o);
|
arr.push(o);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -23,7 +23,6 @@ export const ColourGray = 'Gray';
|
|||||||
export const ColourPink = 'Pink';
|
export const ColourPink = 'Pink';
|
||||||
export const ColourBrown = 'Brown';
|
export const ColourBrown = 'Brown';
|
||||||
export const ColoursOrdering = [
|
export const ColoursOrdering = [
|
||||||
ColourGray,
|
|
||||||
ColourBlue,
|
ColourBlue,
|
||||||
ColourGreen,
|
ColourGreen,
|
||||||
ColourYellow,
|
ColourYellow,
|
||||||
@@ -32,6 +31,7 @@ export const ColoursOrdering = [
|
|||||||
ColourPurple,
|
ColourPurple,
|
||||||
ColourPink,
|
ColourPink,
|
||||||
ColourBrown,
|
ColourBrown,
|
||||||
|
ColourGray,
|
||||||
];
|
];
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
Reference in New Issue
Block a user