refactor(modes): share pilot surface across game modes

This commit is contained in:
Meta Vens 2026-07-11 00:56:19 +01:00
commit 97f86d5365
9 changed files with 16 additions and 33 deletions

View file

@ -1343,7 +1343,6 @@ static async Task PublishDaemonApiDocumentsAsync(
result.Frame,
result.Health ?? new AetheriaRuntimeDaemonHealthDocument(),
result.CommandBoundary ?? AetheriaRuntimeDaemonCommandBoundaryDocument.Create(options.DaemonId),
result.StarbridgeSessionSummary,
activeMainMenuSurfaceId);
await node.MutableDocument<EveSurfaceDocument>(AetheriaRuntimeVerseRecordKeys.DaemonGameSurface)
.ReplaceAsync(AetheriaRuntimeSurfaceDocuments.ToPortableSurface(gameSurface))