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

Loading…
Cancel
Save