mirror of
https://github.com/JulianGro/overte.git
synced 2025-04-07 23:02:24 +02:00
This seems like the last one. Untested.
This commit is contained in:
parent
cf50bcb71b
commit
78981307e6
1 changed files with 1 additions and 3 deletions
|
@ -386,10 +386,8 @@ Flickable {
|
|||
sample = null;
|
||||
}
|
||||
function playSound() {
|
||||
// FIXME: MyAvatar is not properly exposed to QML; MyAvatar.qmlPosition is a stopgap
|
||||
// FIXME: AudioScriptingInterface.playSystemSound should not require position
|
||||
if (sample === null && !isPlaying) {
|
||||
sample = AudioScriptingInterface.playSystemSound(sound, MyAvatar.qmlPosition);
|
||||
sample = AudioScriptingInterface.playSystemSound(sound);
|
||||
isPlaying = true;
|
||||
sample.finished.connect(reset);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue