fix pfp , goalId, skinId in tournament game start

This commit is contained in:
2024-10-14 20:34:52 +02:00
parent 86b6fe314f
commit 7c0d0eb9b7
6 changed files with 45 additions and 31 deletions

View File

@ -6,7 +6,7 @@
# By: edbernar <edbernar@student.42angouleme. +#+ +:+ +#+ #
# +#+#+#+#+#+ +#+ #
# Created: 2024/10/04 17:17:07 by tomoron #+# #+# #
# Updated: 2024/10/14 19:54:30 by tomoron ### ########.fr #
# Updated: 2024/10/14 20:23:18 by tomoron ### ########.fr #
# #
# **************************************************************************** #
@ -72,7 +72,7 @@ class Tournament:
socket.tournament = None
self.broadcast({"action":2,"id":socket.id})
def join(self, socket, goal=0, skin=0, isBot=False):
def join(self, socket, skin=0, goal=0, isBot=False):
if(not isBot and socket.tournament != None):
socket.sendError("already in a tournament", 9036)
return