mirror of
https://gitlab.com/veloren/veloren.git
synced 2024-08-30 18:12:32 +00:00
Merge branch 'master' into 'master'
Fixed animation copypasta bug See merge request veloren/veloren!38 Former-commit-id: 1ace57b79466228258c49f6943ec016a03f29231
This commit is contained in:
commit
49a2d6be64
@ -27,7 +27,7 @@ impl<'a> System<'a> for Sys {
|
|||||||
dir.0 = vel.0.normalized() * Vec3::new(1.0, 1.0, 0.0);
|
dir.0 = vel.0.normalized() * Vec3::new(1.0, 1.0, 0.0);
|
||||||
anims.insert(entity, Animation::Run);
|
anims.insert(entity, Animation::Run);
|
||||||
} else {
|
} else {
|
||||||
anims.insert(entity, Animation::Run);
|
anims.insert(entity, Animation::Idle);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user