src/components/InstancePicker.js
/*
   * Increases the counter of the number of players active when a new
   * player connects.
   */
Increases the counter of the number of players active when a new
player connects.
Increases the counter of the number of players active when a new player connects .
onPlayerAdded(playerName, instanceName) {
    if (this.instances[instanceName] === undefined) {
      return;
    }
    this.instances[instanceName].currentlyPlaying += 1;
  }
onPlayerAdded ( playerName , instanceName ) { if ( this . instances [ instanceName ] === undefined ) { return ; } this . instances [ instanceName ] . currentlyPlaying += 1 ; }
Increases the counter of the number of players active when a new
 player connects.
Increases the counter of the number of players active when a new player connects .