diff --git a/examples/lookWithMouse.js b/examples/lookWithMouse.js index 41d7a29bd9..470a56bd63 100644 --- a/examples/lookWithMouse.js +++ b/examples/lookWithMouse.js @@ -84,4 +84,5 @@ MyAvatar.bodyYaw = 0; MyAvatar.bodyPitch = 0; MyAvatar.bodyRoll = 0; -Script.scriptEnding.connect(scriptEnding); +// would be nice to change to update +Script.update.connect(update);