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