Merge pull request #881 from CookieMonsterTeam/dev

Hotfix
This commit is contained in:
Daniël van Noord
2021-07-05 10:11:10 +02:00
committed by GitHub
8 changed files with 1811 additions and 818 deletions

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

2611
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@@ -48,18 +48,18 @@
"@typescript-eslint/eslint-plugin": "^4.27.0",
"@typescript-eslint/parser": "^4.27.0",
"chai": "^4.3.4",
"eslint": "^7.29.0",
"eslint": "^7.30.0",
"eslint-config-airbnb-base": "^14.2.1",
"eslint-config-prettier": "^8.3.0",
"eslint-plugin-import": "^2.23.4",
"esm": "^3.2.25",
"mocha": "^8.4.0",
"npm-run-all": "^4.1.5",
"prettier": "2.3.1",
"prettier": "2.3.2",
"ts-loader": "^9.2.3",
"ts-node": "^10.0.0",
"typescript": "^4.3.4",
"webpack": "^5.39.1",
"webpack": "^5.42.0",
"webpack-cli": "^4.7.2"
},
"ccrepo": {

View File

@@ -16,6 +16,7 @@ export const ModDescription = `<div class="listing">
/** Latest releasenotes of Cookie Monster to be displayed in the info section */
export const LatestReleaseNotes = `<div class="listing">
This update implements the following functions:</br>
- HOTFIX: Fixed the possibility of clicking Golden Cookies multiple times with autoclickers</br>
- For developers: we now expose some data calculated by Cookie Monster to the global scope. You can access it through the CookieMonsterData object</br>
- The column with the most optimal building now has a green coloured indicator whenever colour coding is turned on</br>
- The current season in the seasons statistics section is now displayed with green text for easier identification</br>

View File

@@ -20,6 +20,7 @@ export default function CreateGCTimer(cookie) {
GCTimer.style.fontSize = '35px';
GCTimer.style.cursor = 'pointer';
GCTimer.style.display = 'block';
GCTimer.style.pointerEvents = 'none';
if (CMOptions.GCTimer === 0) GCTimer.style.display = 'none';
GCTimer.style.left = cookie.l.style.left;
GCTimer.style.top = cookie.l.style.top;