Skip to content

Commit

Permalink
fix: make sure handles in metadata assets are added as dependencies. (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
zicklag committed Oct 11, 2023
1 parent faf9009 commit 991bb05
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions framework_crates/bones_asset/src/server.rs
Original file line number Diff line number Diff line change
Expand Up @@ -883,10 +883,7 @@ mod metadata {
.ctx
.server
.load_asset((&*path, self.ctx.loc.pack).into());
// TODO: update dependencies when they have been loaded somehow.
// self.ctx
// .dependencies
// .push(*self.ctx.server.store.asset_ids.get(&handle).unwrap());
self.ctx.dependencies.push(handle);
*self
.ptr
.try_cast_mut()
Expand Down

0 comments on commit 991bb05

Please sign in to comment.