Sounds path error
This commit is contained in:
parent
84f2310204
commit
4cff8f17ff
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue