games: add: goal table

This commit is contained in:
2024-02-20 16:54:14 +01:00
parent 4d2d4dfb98
commit 4c3116c51f
7 changed files with 58 additions and 27 deletions

View File

@ -14,7 +14,7 @@ class MyPlayer extends Player
*/
constructor(client, game, rail, nb_goal, position)
{
super(game, client.me.id, rail, nb_goal, position, true);
super(game, client.me.id, client.me.username, rail, nb_goal, position, true);
/**
* @type {Client}
*/