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
8df07da2e4
commit
b387d14e10
@ -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…
x
Reference in New Issue
Block a user