diff --git a/src/lib/classes/GameJob.js b/src/lib/classes/GameJob.js index 2727d94..8800e4b 100644 --- a/src/lib/classes/GameJob.js +++ b/src/lib/classes/GameJob.js @@ -12,9 +12,8 @@ class GameJob extends Job { StartGame(id, port) { return new Promise(async (resolve, reject) => { this.placeId = id - this.port = - - const started = await this.Start() + this.port = port + if (!started) throw new Error("RCCService failed to start") if (!this.client) await this.CreateClient()