Added check to make sure all players are on the same team