From 6693d22ecdfbba65389a1e16c5d6ea5fe50eb123 Mon Sep 17 00:00:00 2001 From: Joshua Barretto Date: Wed, 17 Apr 2019 10:07:02 +0100 Subject: [PATCH] Fixed animation copypasta bug Former-commit-id: e4b06e4e7c50214c7d7d9cc618ea7f117dc78ccc --- common/src/sys/control.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/src/sys/control.rs b/common/src/sys/control.rs index 750b9a2e04..a590e13c47 100644 --- a/common/src/sys/control.rs +++ b/common/src/sys/control.rs @@ -27,7 +27,7 @@ impl<'a> System<'a> for Sys { dir.0 = vel.0.normalized() * Vec3::new(1.0, 1.0, 0.0); anims.insert(entity, Animation::Run); } else { - anims.insert(entity, Animation::Run); + anims.insert(entity, Animation::Idle); } } }