Rename lastAnimation to last_animation

Former-commit-id: 7eabea72ad5ee2cfed20b3927a828eb55fae8e33
This commit is contained in:
timokoesters 2019-04-17 22:44:10 +02:00
parent ec16153164
commit 86898c26a0

View File

@ -31,10 +31,10 @@ impl<'a> System<'a> for Sys {
Animation::Idle 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 { anims.insert(entity, AnimationHistory {
last: lastAnimation, last: last_animation,
current: animation, current: animation,
}); });
} }