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:
@ -16,3 +16,5 @@ BALL_SPEED_START = 1
|
||||
BALL_SIZE = 4
|
||||
BALL_SPAWN_POS_X = MAP_SIZE_X / 2
|
||||
BALL_SPAWN_POS_Y = MAP_SIZE_Y / 2
|
||||
|
||||
SERVER_TPS = 20
|
Reference in New Issue
Block a user