mirror of
https://github.com/overte-org/overte.git
synced 2025-04-08 07:12:40 +02:00
Typos
This commit is contained in:
parent
6bdd498ecf
commit
6d9bf2b33e
1 changed files with 4 additions and 4 deletions
|
@ -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 {
|
||||
|
|
Loading…
Reference in a new issue