From 98979b9e7beaa16d52470e6fe635cbb61a5d8a96 Mon Sep 17 00:00:00 2001 From: Carson Webster Date: Mon, 11 Dec 2023 07:13:32 -0800 Subject: [PATCH] Fix debug release issues --- src/lib.rs | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/lib.rs b/src/lib.rs index fd7eeb4..395042a 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -39,8 +39,10 @@ use bevy::app::App; #[cfg(debug_assertions)] use bevy::diagnostic::{FrameTimeDiagnosticsPlugin, LogDiagnosticsPlugin}; use bevy::prelude::*; -#[cfg(debug_assertions)] + +// #[cfg(debug_assertions)] // use bevy_inspector_egui::quick::WorldInspectorPlugin; + use crate::interactions::InteractionsPlugin; // This example game uses States to separate logic @@ -72,12 +74,12 @@ impl Plugin for GamePlugin { // WorldPlugin, InteractionsPlugin, BeesPlugin, + DebugPlugin, )); #[cfg(debug_assertions)] { app.add_plugins(( - DebugPlugin, FrameTimeDiagnosticsPlugin, LogDiagnosticsPlugin::default(), // WorldInspectorPlugin::new(),