graphics/elements/ms-nameplates/ms-nameplate.js
// Only declare the "visible" replicants once all the other replicants are ready.
Only declare the "visible" replicants once all the other replicants are ready.
Only declare the " visible " replicants once all the other replicants are ready .
_checkReplicantsReady() {
			if (this._hostReady && this._couch1Ready && this._couch2Ready && this._couch3Ready &&
				this._player1Ready && this._player2Ready && this._player3Ready && this._player4Ready) {
				console.log('all replicants ready, adding change handlers for couchVisible and playerVisible');
				couchVisible.on('change', this.couchVisibleChanged.bind(this));
				playerVisible.on('change', this.playersVisibleChanged.bind(this));
			}
		}
_checkReplicantsReady ( ) { if ( this . _hostReady && this . _couch1Ready && this . _couch2Ready && this . _couch3Ready && this . _player1Ready && this . _player2Ready && this . _player3Ready && this . _player4Ready ) { console . log ( 'all replicants ready, adding change handlers for couchVisible and playerVisible' ) ; couchVisible . on ( 'change' , this . couchVisibleChanged . bind ( this ) ) ; playerVisible . on ( 'change' , this . playersVisibleChanged . bind ( this ) ) ; } }
Only declare the "visible" replicants once all the other replicants are ready.
Only declare the " visible " replicants once all the other replicants are ready .