game states cleanup

This commit is contained in:
2026-09-19 11:12:51 +02:00
parent 7234a3d664
commit f2f3e5c76c
+1 -1
View File
@@ -35,7 +35,7 @@ fn spawn_depth_text(mut commands: Commands) {
));
}
// Update depth score text
// Update depth score texts
fn update_depth_text(depth: Res<Depth>, texts: Query<&mut Text, With<DepthText>>) {
for mut text in texts {
text.0 = format!("Score: {}", (depth.0 / 100.0).floor());