mirror of
https://gitlab.com/veloren/veloren.git
synced 2024-08-30 18:12:32 +00:00
Rename lastAnimation to last_animation
Former-commit-id: 7eabea72ad5ee2cfed20b3927a828eb55fae8e33
This commit is contained in:
parent
ec16153164
commit
86898c26a0
@ -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,
|
||||
});
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user