From b91e5c27e10ff42debef25d3300c1e486d3a995a Mon Sep 17 00:00:00 2001 From: "James B. Pollack" Date: Wed, 20 Jan 2016 10:45:40 -0800 Subject: [PATCH] Update createPistol.js --- examples/toybox/pistol/createPistol.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/examples/toybox/pistol/createPistol.js b/examples/toybox/pistol/createPistol.js index 4c5d333ec3..dbed6f5e74 100644 --- a/examples/toybox/pistol/createPistol.js +++ b/examples/toybox/pistol/createPistol.js @@ -1,7 +1,7 @@ var center = Vec3.sum(MyAvatar.position, Vec3.multiply(1.5, Quat.getFront(Camera.getOrientation()))); var scriptURL = Script.resolvePath('pistol.js'); var modelURL = "https://s3.amazonaws.com/hifi-public/eric/models/gun.fbx"; -print('MAKING A PISTOLA') + var pistol = Entities.addEntity({ type: 'Model', @@ -48,4 +48,4 @@ function cleanup() { Entities.deleteEntity(pistol); } -Script.scriptEnding.connect(cleanup); \ No newline at end of file +Script.scriptEnding.connect(cleanup);