mirror of
https://github.com/Michatec/wk_wars2x.git
synced 2026-04-01 08:26:27 +02:00
NUI directory organisation
This commit is contained in:
@@ -302,7 +302,7 @@ function settingUpdate( ants )
|
||||
|
||||
function playAudio( name, vol )
|
||||
{
|
||||
let audio = new Audio( audioNames[name] );
|
||||
let audio = new Audio( "sounds/" + audioNames[name] );
|
||||
audio.volume = vol;
|
||||
audio.play();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user