style(simulation): cargo fmt + fix clippy doc-nested-refdefs warning

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
2026-04-10 23:57:48 +02:00
co-authored by Claude Opus 4.6
parent cf21904a0f
commit 309c05d441
9 changed files with 39 additions and 54 deletions
+7 -10
View File
@@ -1,9 +1,9 @@
//! Time and streaming plugin — tick advancement, chunk streaming, news ticker.
//!
//! Systems span two phases:
//! - [`TickPhase::PreInput`]: chunk_streaming (loads chunks before input processing)
//! - [`TickPhase::TickAdvance`]: advance_tick (must be last in the pipeline)
//! - [`TickPhase::Snapshot`]: tick_news_ticker (assembles display content)
//! Systems span three phases:
//! - PreInput: chunk_streaming (loads chunks before input processing)
//! - Snapshot: tick_news_ticker (assembles display content)
//! - TickAdvance: advance_tick (must be last in the pipeline)
use bevy_app::prelude::*;
use bevy_ecs::schedule::IntoScheduleConfigs;
@@ -20,18 +20,15 @@ impl Plugin for TimePlugin {
.init_resource::<super::ticker::TickerPool>()
.add_systems(
Update,
super::chunk_streaming::chunk_streaming
.in_set(TickPhase::PreInput),
super::chunk_streaming::chunk_streaming.in_set(TickPhase::PreInput),
)
.add_systems(
Update,
super::ticker::tick_news_ticker
.in_set(TickPhase::Snapshot),
super::ticker::tick_news_ticker.in_set(TickPhase::Snapshot),
)
.add_systems(
Update,
super::time::advance_tick
.in_set(TickPhase::TickAdvance),
super::time::advance_tick.in_set(TickPhase::TickAdvance),
);
}
}