Should be calling GameJob.Stop(), not GameJob.Close()

This commit is contained in:
I-Have-An-Issue 2023-02-13 20:16:42 -05:00
parent 323aa53390
commit e00266ff18
No known key found for this signature in database
GPG Key ID: E55435DEA0825091
1 changed files with 1 additions and 1 deletions

View File

@ -9,7 +9,7 @@ app.get("/:token", async (request, response) => {
const running = await game.Running()
if (!running && game) {
game.Close()
game.Stop()
return response.json(false)
}