Skip to content

Commit bfd2ea2

Browse files
committed
fixed build of fyrox-template
1 parent d8dc401 commit bfd2ea2

File tree

3 files changed

+2
-2
lines changed

3 files changed

+2
-2
lines changed
File renamed without changes.
File renamed without changes.

template/src/main.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -289,8 +289,8 @@ fn init_data(base_path: &Path, style: &str) {
289289

290290
let scene_path = data_path.join("scene.rgs");
291291
match style {
292-
"2d" => write_file_binary(scene_path, include_bytes!("../2d.rgs")),
293-
"3d" => write_file_binary(scene_path, include_bytes!("../3d.rgs")),
292+
"2d" => write_file_binary(scene_path, include_bytes!("2d.rgs")),
293+
"3d" => write_file_binary(scene_path, include_bytes!("3d.rgs")),
294294
_ => println!("Unknown style: {}. Use either `2d` or `3d`", style),
295295
}
296296
}

0 commit comments

Comments
 (0)