mirror of
https://gitlab.com/veloren/veloren.git
synced 2024-08-30 18:12:32 +00:00
Fixed infinite NPC jumping
This commit is contained in:
parent
16c8ecec66
commit
dd84c6698b
@ -113,6 +113,9 @@ impl<'a> System<'a> for Sys {
|
||||
let _ = jumpings.insert(entity, Jumping);
|
||||
a.on_ground = false;
|
||||
}
|
||||
|
||||
// Reset the controller ready for the next tick
|
||||
*controller = Controller::default();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user