fix: game: 2d work
This commit is contained in:
@ -97,15 +97,9 @@ export class AGame extends AExchangeable
|
||||
*/
|
||||
send(data)
|
||||
{
|
||||
console.log(this._socket)
|
||||
if (this._socket === undefined || this._socket.readyState !== WebSocket.OPEN)
|
||||
{
|
||||
console.log("bozo pas confirme")
|
||||
return ;
|
||||
}
|
||||
console.log("j'essaye de send")
|
||||
this._socket.send(data);
|
||||
console.log("j'ai passer le send")
|
||||
return;
|
||||
this._socket.send(data);
|
||||
}
|
||||
|
||||
async join()
|
||||
|
Reference in New Issue
Block a user