mirror of
https://github.com/billsonnn/nitro-renderer.git
synced 2024-11-22 23:50:52 +01:00
Merge branch 'main' of https://git.krews.org/nitro/nitro-renderer
This commit is contained in:
commit
cf1efc883a
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user