This commit is contained in:
Bill 2021-07-27 04:20:26 -04:00
commit cf1efc883a

View File

@ -146,13 +146,13 @@ export class Nitro extends Application implements INitro
this._roomEngine.init();
}
new GameMessageHandler(this._communication.connection);
if(!this._communication.connection)
{
throw new Error('No connection found');
}
new GameMessageHandler(this._communication.connection);
this._isReady = true;
}