Use CookieMonsterFramework for save/load, infoMenu
This commit is contained in:
@@ -1,6 +1,5 @@
|
||||
/** Section: Functions related to the Golden Cookie Timers */
|
||||
|
||||
import { CMOptions } from '../../Config/VariablesAndData';
|
||||
import { GCTimers } from '../VariablesAndData';
|
||||
|
||||
/**
|
||||
@@ -21,7 +20,8 @@ export default function CreateGCTimer(cookie) {
|
||||
GCTimer.style.cursor = 'pointer';
|
||||
GCTimer.style.display = 'block';
|
||||
GCTimer.style.pointerEvents = 'none';
|
||||
if (CMOptions.GCTimer === 0) GCTimer.style.display = 'none';
|
||||
if (Game.mods.cookieMonsterFramework.saveData.cookieMonsterMod.settings.GCTimer === 0)
|
||||
GCTimer.style.display = 'none';
|
||||
GCTimer.style.left = cookie.l.style.left;
|
||||
GCTimer.style.top = cookie.l.style.top;
|
||||
GCTimer.onclick = function () {
|
||||
|
||||
Reference in New Issue
Block a user