Updated client -> server identification
This commit is contained in:
parent
673a02f2fa
commit
7bc88469a1
@ -30,7 +30,8 @@ class GameScreen extends Container {
|
||||
this.socket.on("identify", () => {
|
||||
this.socket.emit("identification", {
|
||||
name: "Arn",
|
||||
gamemode: 2
|
||||
playersMax: 2,
|
||||
gameID: "tank"
|
||||
});
|
||||
console.log(`Connected to server as ${this.socket.id}`);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user