Skip to content

Commit

Permalink
fixed build of fyrox-template
Browse files Browse the repository at this point in the history
  • Loading branch information
mrDIMAS committed Aug 6, 2022
1 parent d8dc401 commit bfd2ea2
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 2 deletions.
File renamed without changes.
File renamed without changes.
4 changes: 2 additions & 2 deletions template/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -289,8 +289,8 @@ fn init_data(base_path: &Path, style: &str) {

let scene_path = data_path.join("scene.rgs");
match style {
"2d" => write_file_binary(scene_path, include_bytes!("../2d.rgs")),
"3d" => write_file_binary(scene_path, include_bytes!("../3d.rgs")),
"2d" => write_file_binary(scene_path, include_bytes!("2d.rgs")),
"3d" => write_file_binary(scene_path, include_bytes!("3d.rgs")),
_ => println!("Unknown style: {}. Use either `2d` or `3d`", style),
}
}
Expand Down

0 comments on commit bfd2ea2

Please sign in to comment.