Site/Game

- fix somes bugs
This commit is contained in:
Kum1ta
2024-10-06 16:25:45 +02:00
parent 58ae534e57
commit bcb10e8a36
8 changed files with 48 additions and 47 deletions

View File

@ -6,7 +6,7 @@
/* By: edbernar <edbernar@student.42angouleme. +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2024/08/25 00:00:21 by edbernar #+# #+# */
/* Updated: 2024/10/01 23:03:17 by edbernar ### ########.fr */
/* Updated: 2024/10/06 15:31:59 by edbernar ### ########.fr */
/* */
/* ************************************************************************** */
@ -50,6 +50,8 @@ class Page
sendRequest("game", {action: 2});
if (thisClass.actualPage == TournamentPage)
sendRequest("tournament", {action: 1});
if (thisClass.actualPage == WaitingGamePage)
sendRequest("game", {action: 2});
thisClass.changePage(thisClass.availablePages[i].name, true, arg, !thisClass.availablePages[i].suffix);
return ;
}