Fixed animation copypasta bug

Former-commit-id: e4b06e4e7c50214c7d7d9cc618ea7f117dc78ccc
This commit is contained in:
Joshua Barretto 2019-04-17 10:07:02 +01:00
parent 8029edde0b
commit 6693d22ecd

View File

@ -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);
}
}
}