Merge pull request #2365 from MartinFournier/fix/achievements-timer

Include electron-log in achievements file
This commit is contained in:
hydroflame 2022-01-06 11:26:27 -05:00 committed by GitHub
commit 060224182f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -1,5 +1,6 @@
/* eslint-disable @typescript-eslint/no-var-requires */ /* eslint-disable @typescript-eslint/no-var-requires */
const greenworks = require("./greenworks"); const greenworks = require("./greenworks");
const log = require("electron-log");
function enableAchievementsInterval(window) { function enableAchievementsInterval(window) {
// This is backward but the game fills in an array called `document.achievements` and we retrieve it from // This is backward but the game fills in an array called `document.achievements` and we retrieve it from