game: fix: spectator can join
This commit is contained in:
@ -16,7 +16,7 @@ from .Ball import Ball
|
||||
class PongSpectator(ASpectator):
|
||||
|
||||
def __init__(self, user_id: int, socket: WebsocketConsumer, game: PongGame):
|
||||
super().__init__(user_id, socket)
|
||||
super().__init__(user_id, socket, game)
|
||||
self.game: PongGame = game
|
||||
|
||||
def send_paddle(self, player: PongPlayer):
|
||||
|
Reference in New Issue
Block a user