set player names in graphic mode

This commit is contained in:
2020-12-28 17:18:45 +01:00
parent 965b7a5ad7
commit bd35267bd3
3 changed files with 10 additions and 4 deletions

View File

@ -57,9 +57,11 @@
}
else if (fct == "getHand") {
window.hand = msg.cards;
let player = "{{player}}";
var msg_out = {
type: "message",
fct: "requestInit",
player: player,
};
let t = JSON.stringify(msg_out);
window.game_socket.send(t);