cleaning
This commit is contained in:
+1
-1
@@ -36,7 +36,7 @@ fn spawn_depth_text(mut commands: Commands) {
|
||||
fn update_depth_text(
|
||||
mut commands: Commands,
|
||||
depth: Res<Depth>,
|
||||
mut texts: Query<&mut Text, With<DepthText>>,
|
||||
texts: Query<&mut Text, With<DepthText>>,
|
||||
) {
|
||||
for mut text in texts {
|
||||
text.0 = format!("Score: {}", depth.0);
|
||||
|
||||
Reference in New Issue
Block a user