Skip to content

Commit

Permalink
format rust
Browse files Browse the repository at this point in the history
  • Loading branch information
kuruk-mm committed Nov 22, 2023
1 parent 9a74a12 commit b2c7561
Showing 1 changed file with 8 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -179,8 +179,10 @@ pub fn update_video_player(
});

if !file_hash.is_empty() {
video_player_node
.call_deferred("async_request_video".into(), &[file_hash.to_variant()]);
video_player_node.call_deferred(
"async_request_video".into(),
&[file_hash.to_variant()],
);
}
}
VideoUpdateMode::FirstSpawnVideo => {
Expand Down Expand Up @@ -255,8 +257,10 @@ pub fn update_video_player(
.insert(*entity, video_player_node.clone());

if !file_hash.is_empty() {
video_player_node
.call_deferred("async_request_video".into(), &[file_hash.to_variant()]);
video_player_node.call_deferred(
"async_request_video".into(),
&[file_hash.to_variant()],
);
}
}
}
Expand Down

0 comments on commit b2c7561

Please sign in to comment.