From bea49286480a21b4ef13c7ecb28a338c4ab654ad Mon Sep 17 00:00:00 2001 From: I-Have-An-Issue <34550332+I-Have-An-Issue@users.noreply.github.com> Date: Mon, 23 Jan 2023 17:26:45 -0500 Subject: [PATCH] :D --- src/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/index.js b/src/index.js index 3048105..0f4fc55 100644 --- a/src/index.js +++ b/src/index.js @@ -11,7 +11,7 @@ global.games = new Map() setInterval(() => { logger.info("Killing jobless RCCService instances...") global.games.forEach(async (value, key) => { - if (!(await game.Running())) game.Stop() + if (!(await game.Running())) value.Stop() }) }, 15000)