diff --git a/src/game/debug/terrain.rs b/src/game/debug/terrain.rs index 8bb3409..ee5cd13 100644 --- a/src/game/debug/terrain.rs +++ b/src/game/debug/terrain.rs @@ -7,8 +7,8 @@ pub struct TerrainDebugPlugin; impl Plugin for TerrainDebugPlugin { fn build(&self, app: &mut App) { app.insert_resource(TerrainBrush2D::default()) - .add_system(debug_painter) - .add_system_to_stage(TerrainStages::EventHandler, dirty_rect_visualizer); + // .add_system_to_stage(TerrainStages::EventHandler, dirty_rect_visualizer) + .add_system(debug_painter); } } diff --git a/src/terrain2d.rs b/src/terrain2d.rs index 9f76923..d00053b 100644 --- a/src/terrain2d.rs +++ b/src/terrain2d.rs @@ -77,17 +77,16 @@ fn terrain_simulation(mut terrain: ResMut, frame_counter: Res, frame_counter: Res