Fix PathResolver sound
This commit is contained in:
parent
983709e80a
commit
c1b2e79ca5
@ -70,7 +70,7 @@ var PathResolver = new function () {
|
|||||||
};
|
};
|
||||||
this.sound = function (name) {
|
this.sound = function (name) {
|
||||||
var path = baseResDir + "sfx/";
|
var path = baseResDir + "sfx/";
|
||||||
if (path.startsWith("sfx_")) path += name.substring(4);
|
if (name.startsWith("sfx_")) path += name.substring(4);
|
||||||
else path += name;
|
else path += name;
|
||||||
path += ".ogg";
|
path += ".ogg";
|
||||||
return path;
|
return path;
|
||||||
|
Loading…
Reference in New Issue
Block a user