chore: remove stale code
Former-commit-id: 578990ef55b65e961f48808518b8404513a7ee05
This commit is contained in:
parent
20840a4147
commit
a45b5c1d80
|
@ -91,7 +91,6 @@ pub fn camera_follow(
|
|||
|
||||
pub fn player_regen(mut player_query: Query<&mut Player, With<Player>>, time: Res<Time>) {
|
||||
let mut player = player_query.single_mut();
|
||||
println!("{}", player.stamina);
|
||||
if player.stamina < 1. {
|
||||
player.stamina += 0.1 * time.delta_seconds();
|
||||
}
|
||||
|
|
Reference in a new issue