1
0
Fork 0

Sounds path error

This commit is contained in:
sheychen 2016-12-08 11:47:01 +01:00
parent 84f2310204
commit 4cff8f17ff
1 changed files with 1 additions and 1 deletions

View File

@ -155,7 +155,7 @@ namespace MyMonoGame.Utilities
if (path == null)
path = key;
AddSound(key, content.Load<SoundEffect>((fullPath ? "" : "Sounds/") + path + (fullPath ? "" : ".mp3")));
AddSound(key, content.Load<SoundEffect>((fullPath ? "" : "Sounds/") + path));
}
public void AddSound(string key, SoundEffect sound)