Skip to content

Commit

Permalink
Merge pull request #783 from DanielNoord/fix/upgradesorting
Browse files Browse the repository at this point in the history
Fix upgrade sorting on firefox #780
  • Loading branch information
DanielNoord committed May 1, 2021
2 parents 4222e2d + fa70faf commit 76c6d58
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion CookieMonster.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/CookieMonster.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/CookieMonster.js.map

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions src/Disp/BuildingsUpgrades/Upgrades.js
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}

Expand Down
2 changes: 1 addition & 1 deletion src/Disp/VariablesAndData.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@ export const ColourGray = 'Gray';
export const ColourPink = 'Pink';
export const ColourBrown = 'Brown';
export const ColoursOrdering = [
ColourGray,
ColourBlue,
ColourGreen,
ColourYellow,
Expand All @@ -32,6 +31,7 @@ export const ColoursOrdering = [
ColourPurple,
ColourPink,
ColourBrown,
ColourGray,
];

/**
Expand Down

0 comments on commit 76c6d58

Please sign in to comment.