mirror of
https://github.com/lubosz/overte.git
synced 2025-04-10 04:52:17 +02:00
don't play muzak from lobby to avoid error
This commit is contained in:
parent
3ccb81803d
commit
69f5c769b8
1 changed files with 5 additions and 5 deletions
|
@ -139,10 +139,10 @@ function drawLobby() {
|
|||
MyAvatar.attach(HELMET_ATTACHMENT_URL, "Neck", {x: 0, y: 0, z: 0}, Quat.fromPitchYawRollDegrees(0, 0, 0), 1.15);
|
||||
|
||||
// start the drone sound
|
||||
currentDrone = Audio.playSound(droneSound, { stereo: true, loop: true, localOnly: true, volume: DRONE_VOLUME });
|
||||
// currentDrone = Audio.playSound(droneSound, { stereo: true, loop: true, localOnly: true, volume: DRONE_VOLUME });
|
||||
|
||||
// start one of our muzak sounds
|
||||
playRandomMuzak();
|
||||
// playRandomMuzak();
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -353,9 +353,9 @@ function update(deltaTime) {
|
|||
Overlays.editOverlay(descriptionText, { position: textOverlayPosition() });
|
||||
|
||||
// if the reticle is up then we may need to play the next muzak
|
||||
if (!Audio.isInjectorPlaying(currentMuzakInjector)) {
|
||||
playNextMuzak();
|
||||
}
|
||||
// if (!Audio.isInjectorPlaying(currentMuzakInjector)) {
|
||||
// playNextMuzak();
|
||||
// }
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue