cargo fmt
This commit is contained in:
parent
0a7f6ae702
commit
7559786bae
|
@ -1600,12 +1600,10 @@ fn spawn_entities(
|
|||
if state.atmosphere.is_some() {
|
||||
let atmosphere_id = state.atmosphere.clone().unwrap();
|
||||
let component = match atmosphere_id.as_str() {
|
||||
"jupiter" => {
|
||||
Some(actor::HasAtmosphere {
|
||||
"jupiter" => Some(actor::HasAtmosphere {
|
||||
r_inner: scale.x as f64 * 1.01,
|
||||
r_outer: scale.x as f64 * 1.01 + nature::JUPITER_ATMO_HEIGHT,
|
||||
})
|
||||
}
|
||||
}),
|
||||
_ => {
|
||||
error!("Unknown atmosphere id `{atmosphere_id}`");
|
||||
None
|
||||
|
|
Loading…
Reference in a new issue