From 7595697d4e3f8d292e189d17f6f0673979d2f7e6 Mon Sep 17 00:00:00 2001 From: samreid Date: Tue, 2 Apr 2019 09:14:05 -0600 Subject: [PATCH] Rename instance => PhetioObject, see https://github.com/phetsims/phet-io/issues/1422 --- js/game/model/BAAGameChallengeIO.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/js/game/model/BAAGameChallengeIO.js b/js/game/model/BAAGameChallengeIO.js index 187ca88b..8dea6286 100644 --- a/js/game/model/BAAGameChallengeIO.js +++ b/js/game/model/BAAGameChallengeIO.js @@ -59,10 +59,10 @@ define( function( require ) { // TODO: is there a better way to do this, or at least factor it out? var instance = phetioEngine.hasInstance( stateObject.phetioID ); if ( instance ) { - return phetioEngine.getInstance( stateObject.phetioID ); + return phetioEngine.getPhetioObject( stateObject.phetioID ); } - var model = phetioEngine.getInstance( stateObject.modelPhetioID ); + var model = phetioEngine.getPhetioObject( stateObject.modelPhetioID ); var answerAtom = new phet.shred.NumberAtom( { protonCount: stateObject.answerAtom.protonCount,