mirror of
https://github.com/storytold/storyteller-bevy.git
synced 2026-10-17 00:13:17 +00:00
Clippy
This commit is contained in:
+3
-7
@@ -68,7 +68,7 @@ pub(crate) fn is_editor(r_studio_mode: Res<StudioMode>) -> bool {
|
||||
struct CommonPlugins;
|
||||
impl PluginGroup for CommonPlugins {
|
||||
fn build(self) -> PluginGroupBuilder {
|
||||
let group = PluginGroupBuilder::start::<Self>()
|
||||
PluginGroupBuilder::start::<Self>()
|
||||
.add(CameraControllerPlugin)
|
||||
.add(DebugPlugin)
|
||||
.add(InterpolationPlugin)
|
||||
@@ -78,12 +78,8 @@ impl PluginGroup for CommonPlugins {
|
||||
.add(UiLayerPlugin)
|
||||
.add(WorldGridPlugin)
|
||||
.add(PersistancePlugin)
|
||||
.add(AnimPlugin);
|
||||
|
||||
#[cfg(feature = "wasm")]
|
||||
let group = { group.add(inspector::InspectorPlugin) };
|
||||
|
||||
group
|
||||
.add(inspector::InspectorPlugin)
|
||||
.add(AnimPlugin)
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user