Still troubleshooting why some pieces are not fully captured...

main
Elijah C. Voigt 1 year ago
parent a73b97191d
commit 620133a45c

@ -1176,6 +1176,7 @@ fn capture_piece(
mut timer: Local<f32>, mut timer: Local<f32>,
time: Res<Time>, time: Res<Time>,
) { ) {
info!("Running capture piece routine");
match *state { match *state {
// State is None, so we need to initiate the animation // State is None, so we need to initiate the animation
None => { None => {
@ -1218,6 +1219,7 @@ fn capture_piece(
score.captures(!*side).saturating_sub(1), score.captures(!*side).saturating_sub(1),
t.translation t.translation
); );
info!("Setting translation for captured piece {:?}", entity);
t.translation = t.translation =
capture_translation(side, score.captures(!*side).saturating_sub(1)); capture_translation(side, score.captures(!*side).saturating_sub(1));

Loading…
Cancel
Save