mirror of
https://gitlab.com/veloren/veloren.git
synced 2024-08-30 18:12:32 +00:00
Fix velocity when stuck
This commit is contained in:
parent
08e982fa7c
commit
c40e15f070
@ -257,6 +257,7 @@ impl<'a> System<'a> for Sys {
|
||||
|
||||
if attempts == MAX_ATTEMPTS {
|
||||
pos.0 = old_pos;
|
||||
vel.0 = Vec3::zero();
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user