chore: remove stale code

Former-commit-id: 578990ef55b65e961f48808518b8404513a7ee05
This commit is contained in:
Muhammad Nauman Raza 2023-12-07 19:04:48 +00:00
parent 20840a4147
commit a45b5c1d80
Signed by: devraza
GPG key ID: 91EAD6081011574B

View file

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