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 b38b954e3e
commit 0b04e042dd

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