Skip to content

Commit

Permalink
Fix compile errors when enabling profile-with-superluminal
Browse files Browse the repository at this point in the history
  • Loading branch information
Pombal committed Aug 4, 2023
1 parent 20c7dfa commit b6526c1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions crates/wasm/src/shared/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -382,6 +382,7 @@ fn run(
world.get_cloned(id, module_name()).unwrap_or_default(),
message_name
)
.as_str()
);

// If it's not in the subscribed events, skip over it
Expand Down
2 changes: 1 addition & 1 deletion shared_crates/element/src/tree.rs
Original file line number Diff line number Diff line change
Expand Up @@ -260,7 +260,7 @@ impl ElementTree {
let instance = self.instances.get(instance_id).unwrap();
let key = instance.config.get_element_key(true);

ambient_profiling::scope!("render_instance", key.clone());
ambient_profiling::scope!("render_instance", &key);
let part = instance.config.part.clone();

let entity = if let Some(part) = part {
Expand Down

0 comments on commit b6526c1

Please sign in to comment.