End RCC when the job is done

This commit is contained in:
I-Have-An-Issue 2023-01-23 16:47:07 -05:00
parent ce289be439
commit 7562c75edf
No known key found for this signature in database
GPG Key ID: E55435DEA0825091
1 changed files with 3 additions and 1 deletions

View File

@ -38,7 +38,9 @@ class GameJob extends Job {
{ type: "LUA_TNUMBER", value: server_owner_id },
],
},
}).catch((e) => reject(e))
})
.then(() => this.Stop())
.catch((e) => reject(e))
resolve()
})