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:
@@ -223,19 +223,12 @@ impl Plugin for BridgePlugin {
|
||||
.init_resource::<DebugEnabled>()
|
||||
.init_resource::<crate::perception::query::ActivePerceptionMode>()
|
||||
// Bridge I/O — PreInput (receive) and PostSnapshot (send)
|
||||
.add_systems(
|
||||
Update,
|
||||
receive_bridge_inputs.in_set(TickPhase::PreInput),
|
||||
)
|
||||
.add_systems(
|
||||
Update,
|
||||
send_bridge_snapshot.in_set(TickPhase::PostSnapshot),
|
||||
)
|
||||
.add_systems(Update, receive_bridge_inputs.in_set(TickPhase::PreInput))
|
||||
.add_systems(Update, send_bridge_snapshot.in_set(TickPhase::PostSnapshot))
|
||||
// Debug commands — Snapshot phase
|
||||
.add_systems(
|
||||
Update,
|
||||
debug::handle_debug_commands
|
||||
.in_set(TickPhase::Snapshot),
|
||||
debug::handle_debug_commands.in_set(TickPhase::Snapshot),
|
||||
)
|
||||
// Monologue chain — Simulation phase, strict intra-phase sequence.
|
||||
// trigger_event_monologue must run after conversations + sound (also Simulation).
|
||||
@@ -270,8 +263,7 @@ impl Plugin for BridgePlugin {
|
||||
// Observer snapshot assembly — Snapshot phase
|
||||
.add_systems(
|
||||
Update,
|
||||
crate::perception::observer::compute_observer_snapshot
|
||||
.in_set(TickPhase::Snapshot),
|
||||
crate::perception::observer::compute_observer_snapshot.in_set(TickPhase::Snapshot),
|
||||
)
|
||||
// Post-snapshot: emit observation events
|
||||
.add_systems(
|
||||
|
||||
Reference in New Issue
Block a user