Add delay for steam

This commit is contained in:
Daniël van Noord
2021-09-03 12:38:38 +02:00
parent 2940d1c631
commit f67b561990
5 changed files with 9 additions and 4 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

@@ -8,6 +8,11 @@ const CM = {
save, save,
}; };
if (typeof Steam !== 'undefined') {
// Need to add a delay for steam
setTimeout(function () {}, 300);
}
Game.registerMod('CookieMonster', CM); 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