fix altitude/pressure gauges not resetting when exiting atmosphere
This commit is contained in:
parent
aa98d8cebc
commit
c206fa2684
|
@ -1135,7 +1135,7 @@ fn handle_atmosphere(
|
||||||
>,
|
>,
|
||||||
) {
|
) {
|
||||||
let dt = time.delta_seconds() as f64;
|
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 (pos, mut v, player) in &mut q_actor {
|
||||||
for (atmo_pos, atmo_v, atmo) in &q_atmosphere {
|
for (atmo_pos, atmo_v, atmo) in &q_atmosphere {
|
||||||
|
|
Loading…
Reference in a new issue