Fixed minor bug with Chocolate Egg stat and fixed how undefined was checked (Thanks The_omniscent_pie)
This commit is contained in:
@@ -75,7 +75,7 @@ If you'd rather use the addon as a script via per example *Greasemonkey* or *Tam
|
||||
|
||||
javascript:(function() {
|
||||
var checkReady = setInterval(function() {
|
||||
if (Game.ready != undefined && Game.ready) {
|
||||
if (typeof Game.ready !== 'undefined' && Game.ready) {
|
||||
Game.LoadMod('http://aktanusa.github.io/CookieMonster/CookieMonster.js');
|
||||
clearInterval(checkReady);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user