Add delay for steam

This commit is contained in:
Daniël van Noord committed 2021-09-03 12:38:38 +02:00
1 parent 2940d1c631
commit f67b561990
5 files changed
+9 -4

No files matched your search

+5
View File
@@ -8,6 +8,11 @@ const CM = {
save,
};
if (typeof Steam !== 'undefined') {
// Need to add a delay for steam
setTimeout(function () {}, 300);
}
Game.registerMod('CookieMonster', CM);
// Game.registerMod also calls CM.load() which calls the loop hook