From 9205da2298e0c5cbe9020c627f9e58f2579bbd30 Mon Sep 17 00:00:00 2001 From: Christof Petig Date: Wed, 15 Mar 2023 01:23:02 +0100 Subject: [PATCH] cargo fmt --- common/src/comp/body/ship.rs | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/common/src/comp/body/ship.rs b/common/src/comp/body/ship.rs index 728b2d8bde..84bedf43aa 100644 --- a/common/src/comp/body/ship.rs +++ b/common/src/comp/body/ship.rs @@ -222,7 +222,11 @@ pub mod figuredata { // need to load them in the server and sync them as an ECS resource. let vox = cache.load::(&["common.voxel.", &bone.central.0].concat())?; - let dyna = Dyna::::from_vox(&vox.read().0, false, bone.model_index as usize); + let dyna = Dyna::::from_vox( + &vox.read().0, + false, + bone.model_index as usize, + ); let dyna = dyna.map_into(|cell| { if let Some(rgb) = cell.get_color() { Block::new(BlockKind::Misc, rgb)