Listen for new players while in the lobby
This commit is contained in:
parent
2c1098ca49
commit
5262cbbd00
1 changed files with 3 additions and 1 deletions
|
|
@ -44,7 +44,9 @@ export default {
|
||||||
});
|
});
|
||||||
};
|
};
|
||||||
},
|
},
|
||||||
PlayerJoin() {},
|
NewPlayer(data) {
|
||||||
|
this.players.push(data.player);
|
||||||
|
},
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue