diff --git a/examples/playChess.js b/examples/playChess.js index ecfe1d12ae..cb60467492 100644 --- a/examples/playChess.js +++ b/examples/playChess.js @@ -124,8 +124,9 @@ ChessGame.Piece = (function(position, dimensions, url, rotation) { rotation: rotation, dimensions: this.dimensions, modelURL: url, + script: "https://s3.amazonaws.com/hifi-public/scripts/entityScripts/chessPiece.js" //script: "https://s3-us-west-1.amazonaws.com/highfidelity-dev/scripts/chessPiece.js" - script: "file:/Users/clement/hifi/examples/entityScripts/chessPiece.js" + //script: "file:/Users/clement/hifi/examples/entityScripts/chessPiece.js" } this.entity = null; }); @@ -156,7 +157,7 @@ ChessGame.makePiece = function(piece, i, j, isWhite) { return piece; } -ChessGame.buildMetaDataString = function() { +ChessGame.buildMetadataString = function() { var metadataObject = { gamePosition: gamePosition, gameSize: gameSize