game: core: change player to player.isconnected

befort: if a player is disconnected he doesn't have an object
after: he have un object with a socket == None
This commit is contained in:
2024-01-19 15:38:04 +01:00
parent 2f4496c9bc
commit 7cf13640a1
11 changed files with 132 additions and 79 deletions

View File

@ -21,6 +21,4 @@ class GameManager():
self._game_list.append(game)
return game
return game