Merge branch 'dev' of https://github.com/CookieMonsterTeam/CookieMonster into short-time-format
This commit is contained in:
2
dist/CookieMonster.js
vendored
2
dist/CookieMonster.js
vendored
File diff suppressed because one or more lines are too long
2
dist/CookieMonster.js.map
vendored
2
dist/CookieMonster.js.map
vendored
File diff suppressed because one or more lines are too long
4
dist/CookieMonsterDev.js
vendored
4
dist/CookieMonsterDev.js
vendored
File diff suppressed because one or more lines are too long
4
dist/CookieMonsterDev.js.map
vendored
4
dist/CookieMonsterDev.js.map
vendored
File diff suppressed because one or more lines are too long
@@ -10,11 +10,14 @@ const CM = {
|
|||||||
|
|
||||||
if (typeof Steam !== 'undefined') {
|
if (typeof Steam !== 'undefined') {
|
||||||
// Need to add a delay for steam
|
// 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;
|
|
||||||
|
|||||||
Reference in New Issue
Block a user