This commit is contained in:
2026-09-18 17:46:29 +02:00
parent 5d422ecef0
commit 11ae27cefe
5 changed files with 7 additions and 7 deletions
+1 -1
View File
@@ -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);