Fixed infinite NPC jumping

This commit is contained in:
Joshua Barretto 2019-07-21 17:15:31 +01:00
parent 16c8ecec66
commit dd84c6698b

View File

@ -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();
}
}
}