diff --git a/src/index.js b/src/index.js index 9ccdd9b..fd52e3f 100644 --- a/src/index.js +++ b/src/index.js @@ -10,7 +10,7 @@ global.games = new Map() setInterval(() => { global.games.forEach(async (value, key) => { - if (!(await game.Running())) value.Stop() + if (!(await value.Running())) value.Stop() }) }, 15000)