??/
This commit is contained in:
parent
55af57ac91
commit
4793dcac66
|
|
@ -12,9 +12,8 @@ class GameJob extends Job {
|
||||||
StartGame(id, port) {
|
StartGame(id, port) {
|
||||||
return new Promise(async (resolve, reject) => {
|
return new Promise(async (resolve, reject) => {
|
||||||
this.placeId = id
|
this.placeId = id
|
||||||
this.port =
|
this.port = port
|
||||||
|
|
||||||
const started = await this.Start()
|
|
||||||
if (!started) throw new Error("RCCService failed to start")
|
if (!started) throw new Error("RCCService failed to start")
|
||||||
if (!this.client) await this.CreateClient()
|
if (!this.client) await this.CreateClient()
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue