[Automated] Merge dev into gh-pages

This commit is contained in:
github-actions[bot]
2021-09-05 11:02:23 +00:00
committed by GitHub
5 changed files with 9 additions and 10 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

View File

@@ -12,13 +12,12 @@ if (typeof Steam !== 'undefined') {
// Need to add a delay for steam // Need to add a delay for steam
setTimeout(function () { setTimeout(function () {
Game.registerMod('CookieMonster', CM); Game.registerMod('CookieMonster', CM);
}, 2000);
} else {
Game.registerMod('CookieMonster', CM);
}
// Game.registerMod also calls CM.load() which calls the loop hook // Game.registerMod also calls CM.load() which calls the loop hook
// Thus sounds normally play at start up as Season and Garden states are checked // Thus sounds normally play at start up as Season and Garden states are checked
window.cookieMonsterFrameworkData.isInitializing = false; window.cookieMonsterFrameworkData.isInitializing = false;
}, 2000);
} else {
Game.registerMod('CookieMonster', CM);
window.cookieMonsterFrameworkData.isInitializing = false;
}