sound path
This commit is contained in:
parent
cbc11a3997
commit
19530d3e13
Binary file not shown.
|
|
@ -31,7 +31,7 @@ impl Sound {
|
|||
}
|
||||
|
||||
fn new_sound(&self, ctx: &mut ScriptMessageContext, name: &str) -> Handle<Node> {
|
||||
let mut path = "/mnt/23154027-2dd3-43ea-93f1-02a8df7a3c5a/projects/fyrox/platformer/assets/data/sounds/".to_owned();
|
||||
let mut path = "assets/data/sounds/".to_owned();
|
||||
path.push_str(name);
|
||||
let walk_sound = ctx.resource_manager.request::<SoundBuffer>(path);
|
||||
return SoundBuilder::new(BaseBuilder::new())
|
||||
|
|
|
|||
Loading…
Reference in New Issue