mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-11-26 09:33:49 +01:00
Include electron-log in achievements file
When the timer throws an exception, it tried to log the error but log was not defined.
This commit is contained in:
parent
7107dd682c
commit
674d8a3f06
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user