Skip to content

Commit

Permalink
Capitalize file endings to reproduce issue #44
Browse files Browse the repository at this point in the history
  • Loading branch information
NiklasEi committed Dec 30, 2024
1 parent 2e36160 commit be441e5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
File renamed without changes.
4 changes: 2 additions & 2 deletions examples/json.rs
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ fn main() {
App::new()
.add_plugins((
DefaultPlugins,
JsonAssetPlugin::<Level>::new(&["level.json"]),
JsonAssetPlugin::<Level>::new(&["TerrainLine.json"]),
))
.init_state::<AppState>()
.add_systems(Startup, setup)
Expand All @@ -15,7 +15,7 @@ fn main() {
}

fn setup(mut commands: Commands, asset_server: Res<AssetServer>) {
let level = LevelHandle(asset_server.load("trees.level.json"));
let level = LevelHandle(asset_server.load("trees.TerrainLine.json"));
commands.insert_resource(level);
let tree = ImageHandle(asset_server.load("tree.png"));
commands.insert_resource(tree);
Expand Down

0 comments on commit be441e5

Please sign in to comment.