Correctly manage icon state when visibility is lost.
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
Nolan Darilek 2022-06-03 06:53:45 -05:00
parent 32a04f2af4
commit a491e90573

View File

@ -194,9 +194,10 @@ fn update<S>(
entity.remove::<Rolloff>();
});
}
} else if !sound.paused {
sound.paused = true;
sound.restart = true;
}
} else {
sound.paused = true;
}
}
}