mirror of
https://thingvellir.net/git/overte
synced 2025-03-27 23:52:03 +01:00
Tune sound down
This commit is contained in:
parent
fdfdba5d2d
commit
ea0f3f05e7
1 changed files with 4 additions and 1 deletions
|
@ -39,7 +39,10 @@
|
|||
// Play switch sound
|
||||
this.playSound = function() {
|
||||
if (this.sound && this.sound.downloaded) {
|
||||
Audio.playSound(this.sound, { position: Entities.getEntityProperties(this.entityID).position });
|
||||
Audio.playSound(this.sound, {
|
||||
position: Entities.getEntityProperties(this.entityID).position,
|
||||
volume: 0.2
|
||||
});
|
||||
} else {
|
||||
print("Warning: Couldn't play sound.");
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue