Sienna Meridian Satterwhite 702d85ef60 bug(debug_ui): Fix egui session panel sync with engine state
The session UI panel was not updating when networking started via
control socket because poll_engine_events used commands.insert_resource
which queued updates until end of schedule. The UI could run before
the command was applied.

Fixed by:
- Initialize CurrentSession at startup in offline state (session.rs)
- Use direct ResMut mutation in poll_engine_events (engine_bridge.rs)
- Check session.state instead of resource existence (session_ui.rs)

This ensures Bevy's change detection triggers immediately when engine
events update the session state.

Refs #131, #132

Signed-off-by: Sienna Meridian Satterwhite <sienna@r3t.io>
2026-02-07 18:22:20 +00:00
2026-02-07 18:19:21 +00:00
2026-02-07 18:19:21 +00:00
2026-02-07 18:19:21 +00:00
2026-02-07 13:58:20 +00:00
2026-02-07 14:10:50 +00:00
Description
Offline-first, peer-to-peer game engine SDK in Rust
5.3 MiB
Languages
Rust 86.3%
WGSL 13.5%
Swift 0.1%