game: fix: update_player work

This commit is contained in:
2024-04-15 06:11:19 +02:00
parent 5423240df4
commit 26fa52b136
3 changed files with 4 additions and 2 deletions

View File

@ -26,6 +26,8 @@ class PongPlayer(APlayer):
self.score: list[int] = []
self.rail: Segment = rail
self.game: PongGame
self.username: str = User.objects.get(pk = self.user_id).username