Solved null reference exception while the client is setting the enable flag to each player.