mirror of
https://github.com/AleziaKurdis/overte.git
synced 2025-04-07 13:12:39 +02:00
Minor Code Adjustment
Minor Code Adjustment
This commit is contained in:
parent
75d6b2c2e5
commit
f6aaa000a7
1 changed files with 5 additions and 5 deletions
|
@ -12,7 +12,7 @@
|
|||
|
||||
audioFeedback = (function() {
|
||||
var that = {};
|
||||
|
||||
|
||||
var confirmationSound = SoundCache.getSound(Script.resolvePath("./sounds/confirmation.mp3"));
|
||||
var rejectionSound = SoundCache.getSound(Script.resolvePath("./sounds/rejection.mp3"));
|
||||
var actionSound = SoundCache.getSound(Script.resolvePath("./sounds/action.mp3"));
|
||||
|
@ -26,15 +26,15 @@ audioFeedback = (function() {
|
|||
|
||||
that.rejection = function() { //Play a rejection sound
|
||||
var injector = Audio.playSound(rejectionSound, {
|
||||
"volume": 0.3,
|
||||
"localOnly": true
|
||||
"volume": 0.3,
|
||||
"localOnly": true
|
||||
});
|
||||
}
|
||||
|
||||
that.action = function() { //Play an action sound
|
||||
var injector = Audio.playSound(actionSound, {
|
||||
"volume": 0.3,
|
||||
"localOnly": true
|
||||
"volume": 0.3,
|
||||
"localOnly": true
|
||||
});
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue