From 86898c26a0fca3c767078c09b5d70272d819c657 Mon Sep 17 00:00:00 2001 From: timokoesters Date: Wed, 17 Apr 2019 22:44:10 +0200 Subject: [PATCH] Rename lastAnimation to last_animation Former-commit-id: 7eabea72ad5ee2cfed20b3927a828eb55fae8e33 --- common/src/sys/control.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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, }); }