mirror of
https://gitlab.com/veloren/veloren.git
synced 2024-08-30 18:12:32 +00:00
Fixed animation copypasta bug
Former-commit-id: e4b06e4e7c50214c7d7d9cc618ea7f117dc78ccc
This commit is contained in:
parent
8029edde0b
commit
6693d22ecd
@ -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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user