diff --git a/common/src/sys/control.rs b/common/src/sys/control.rs index 9179ea744a..b2568c6975 100644 --- a/common/src/sys/control.rs +++ b/common/src/sys/control.rs @@ -31,10 +31,10 @@ impl<'a> System<'a> for Sys { Animation::Idle }; - let lastAnimation = anims.get_mut(entity).map(|h| h.current); + let last_animation = anims.get_mut(entity).map(|h| h.current); anims.insert(entity, AnimationHistory { - last: lastAnimation, + last: last_animation, current: animation, }); }