games: add: goal table

This commit is contained in:
2024-02-20 16:54:14 +01:00
committed by AdrienLSH
parent 2560ec908d
commit a4a6eebb12
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}
*/