update: stardust xr core

This commit is contained in:
Nova
2025-10-05 13:12:29 -07:00
parent 418e3a2ccb
commit ec871f5963
5 changed files with 24 additions and 21 deletions

View File

@@ -254,7 +254,7 @@ async fn main() -> Result<AppExit, JoinError> {
#[derive(ScheduleLabel, Hash, Debug, PartialEq, Eq, Clone, Copy)]
pub struct PreFrameWait;
#[derive(Resource, Deref)]
pub struct ObjectRegistryRes(ObjectRegistry);
pub struct ObjectRegistryRes(Arc<ObjectRegistry>);
#[derive(Resource, Deref)]
pub struct DbusConnection(Connection);
@@ -263,7 +263,7 @@ fn bevy_loop(
_project_dirs: Option<ProjectDirs>,
args: CliArgs,
dbus_connection: Connection,
object_registry: ObjectRegistry,
object_registry: Arc<ObjectRegistry>,
) -> AppExit {
let mut app = App::new();
app.insert_resource(DbusConnection(dbus_connection));