Should be calling GameJob.Stop(), not GameJob.Close()
This commit is contained in:
parent
323aa53390
commit
e00266ff18
|
|
@ -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)
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue