Skip to content

Commit b3eefda

Browse files
committed
fix clock z index stacking issue
1 parent dfa1065 commit b3eefda

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/game/movement.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ fn movement(
115115

116116
if held_clock.is_some() {
117117
let mut clock = held_clock.unwrap();
118-
clock.1.translation = transform.translation;
118+
clock.1.translation.x = transform.translation.x;
119119
}
120120
}
121121
}

0 commit comments

Comments
 (0)