mirror of
https://github.com/overte-org/overte.git
synced 2025-04-20 04:44:11 +02:00
whitespace
This commit is contained in:
parent
274f72af52
commit
077d331004
1 changed files with 3 additions and 1 deletions
|
@ -126,7 +126,9 @@ function EntityDatum(entityIdentifier) { // Just the data of an entity that we n
|
|||
loop: soundData.loop || DEFAULT_SOUND_DATA.loop,
|
||||
volume: soundData.volume || DEFAULT_SOUND_DATA.volume
|
||||
};
|
||||
function repeat() { return !options.loop && (soundData.playbackGap >= 0); }
|
||||
function repeat() {
|
||||
return !options.loop && (soundData.playbackGap >= 0);
|
||||
}
|
||||
function randomizedNextPlay() { // time of next play or recheck, randomized to distribute the work
|
||||
var range = soundData.playbackGapRange || DEFAULT_SOUND_DATA.playbackGapRange,
|
||||
base = repeat() ? ((that.sound.duration * MSEC_PER_SEC) + (soundData.playbackGap || DEFAULT_SOUND_DATA.playbackGap)) : RECHECK_TIME;
|
||||
|
|
Loading…
Reference in a new issue