Merge branch 'dev' of https://github.com/CookieMonsterTeam/CookieMonster into short-time-format

This commit is contained in:
Daniël van Noord committed 2021-09-05 17:23:37 +02:00
commit 9c005b2f2f
5 files changed
+21 -10

No files matched your search

+10 -7
View File
@@ -10,11 +10,14 @@ const CM = {
if (typeof Steam !== 'undefined') {
// Need to add a delay for steam
setTimeout(function () {}, 300);
setTimeout(function () {
Game.registerMod('CookieMonster', CM);
// 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
window.cookieMonsterFrameworkData.isInitializing = false;
}, 2000);
} else {
Game.registerMod('CookieMonster', CM);
window.cookieMonsterFrameworkData.isInitializing = false;
}
Game.registerMod('CookieMonster', CM);
// 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
window.cookieMonsterFrameworkData.isInitializing = false;