Skip to content

Commit

Permalink
Merge pull request #916 from CookieMonsterTeam/dev
Browse files Browse the repository at this point in the history
Push hotfixes to master
  • Loading branch information
DanielNoord committed Sep 2, 2021
2 parents 60f19e5 + 2940d1c commit ac7f630
Show file tree
Hide file tree
Showing 8 changed files with 319 additions and 249 deletions.
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.

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

Large diffs are not rendered by default.

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

Large diffs are not rendered by default.

536 changes: 303 additions & 233 deletions package-lock.json

Large diffs are not rendered by default.

18 changes: 9 additions & 9 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -46,22 +46,22 @@
"devDependencies": {
"@types/chai": "^4.2.19",
"@types/mocha": "^9.0.0",
"@typescript-eslint/eslint-plugin": "^4.28.4",
"@typescript-eslint/parser": "^4.28.4",
"@typescript-eslint/eslint-plugin": "^4.30.0",
"@typescript-eslint/parser": "^4.30.0",
"chai": "^4.3.4",
"eslint": "^7.31.0",
"eslint": "^7.32.0",
"eslint-config-airbnb-base": "^14.2.1",
"eslint-config-prettier": "^8.3.0",
"eslint-plugin-import": "^2.23.4",
"eslint-plugin-import": "^2.24.2",
"esm": "^3.2.25",
"mocha": "^8.4.0",
"npm-run-all": "^4.1.5",
"prettier": "2.3.2",
"ts-loader": "^9.2.3",
"ts-node": "^10.0.0",
"typescript": "^4.3.4",
"webpack": "^5.45.1",
"webpack-cli": "^4.7.2"
"ts-loader": "^9.2.5",
"ts-node": "^10.2.1",
"typescript": "^4.4.2",
"webpack": "^5.51.2",
"webpack-cli": "^4.8.0"
},
"ccrepo": {
"icon": [
Expand Down
2 changes: 1 addition & 1 deletion src/Disp/Tooltips/Tooltip.js
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ export function CreateTooltip(type, name) {
// Adds amortization info to the list of info per building
if (Game.mods.cookieMonsterFramework.saveData.cookieMonsterMod.settings.TooltipAmor === 1) {
const buildPrice = BuildingGetPrice(
Game.Objects[name],
name,
Game.Objects[name].basePrice,
0,
Game.Objects[name].free,
Expand Down
4 changes: 2 additions & 2 deletions src/Main/ReplaceGameFunctions/ReplaceNative.js
Original file line number Diff line number Diff line change
Expand Up @@ -66,8 +66,8 @@ export default function ReplaceNative() {
l('bigCookie').removeEventListener('click', Game.ClickCookie, false);
l('bigCookie').addEventListener(
'click',
() => {
FixMouseY(Game.ClickCookie);
(event) => {
FixMouseY(()=> Game.ClickCookie(event,0));
},
false,
);
Expand Down

0 comments on commit ac7f630

Please sign in to comment.