Skip to content

Commit

Permalink
Fix debug release issues
Browse files Browse the repository at this point in the history
  • Loading branch information
CarsonWebster committed Dec 11, 2023
1 parent bc4a6b2 commit 98979b9
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -72,12 +74,12 @@ impl Plugin for GamePlugin {
// WorldPlugin,
InteractionsPlugin,
BeesPlugin,
DebugPlugin,
));

#[cfg(debug_assertions)]
{
app.add_plugins((
DebugPlugin,
FrameTimeDiagnosticsPlugin,
LogDiagnosticsPlugin::default(),
// WorldInspectorPlugin::new(),
Expand Down

0 comments on commit 98979b9

Please sign in to comment.