Commit 12965887 authored by Rahix's avatar Rahix 🦀
Browse files

Move sprites to www/resources/sprites/

parent 75305010
......@@ -19,7 +19,7 @@ impl Sprite {
return;
}
let filename = self.filename();
let image_url = format!("resources/{}", filename);
let image_url = format!("resources/sprites/{}", filename);
let image = svg_loader::load_svg_as_image(&image_url).await;
renderer
.register_image_on_handle(image, &image_handle)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment