From 6d9bf2b33eb5de7bfd81a313896e7b64610804e4 Mon Sep 17 00:00:00 2001 From: David Rowe Date: Tue, 16 May 2017 13:58:42 +1200 Subject: [PATCH] Typos --- scripts/system/playRecordingAC.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/scripts/system/playRecordingAC.js b/scripts/system/playRecordingAC.js index f62451154b..3d87e9a53f 100644 --- a/scripts/system/playRecordingAC.js +++ b/scripts/system/playRecordingAC.js @@ -286,7 +286,7 @@ function play(user, recording, position, orientation) { var errorMessage; - if (autoPlayTimer) { // Cancel autoplay. + if (autoPlayTimer) { // Cancel auto-play. Script.clearTimeout(autoPlayTimer); autoPlayTimer = null; } @@ -295,7 +295,7 @@ if (Entity.create(recording, position, orientation)) { log("Play recording " + recording); - isPlayingRecording = true; + isPlayingRecording = true; // Immediate feedback. recordingFilename = recording; playRecording(recordingFilename, position, orientation); } else { @@ -303,7 +303,7 @@ log(errorMessage); error(errorMessage); - autoPlayTimer = Script.setTimeout(autoPlay, AUTOPLAY_ERROR_INTERVAL); // Resume autoplay later. + autoPlayTimer = Script.setTimeout(autoPlay, AUTOPLAY_ERROR_INTERVAL); // Resume auto-play later. } } @@ -315,7 +315,7 @@ Script.setTimeout(function () { recording = Entity.find(); if (recording) { - log("Play persisted recording " + recordingFilename); + log("Play persisted recording " + recording.recording); userID = null; playRecording(recording.recording, recording.position, recording.orientation); } else {