From c206fa268470ac56e8137996e726e3b3e2af7bac Mon Sep 17 00:00:00 2001 From: yuni Date: Wed, 27 Nov 2024 22:37:58 +0100 Subject: [PATCH] fix altitude/pressure gauges not resetting when exiting atmosphere --- src/actor.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/actor.rs b/src/actor.rs index afc37b7..3d81575 100644 --- a/src/actor.rs +++ b/src/actor.rs @@ -1135,7 +1135,7 @@ fn handle_atmosphere( >, ) { let dt = time.delta_seconds() as f64; - let mut reset_player_gauges = false; + let mut reset_player_gauges = true; for (pos, mut v, player) in &mut q_actor { for (atmo_pos, atmo_v, atmo) in &q_atmosphere {