Carry zone render through observed daemon state

This commit is contained in:
Meta Vens 2026-06-28 07:34:11 +01:00
commit 6c75edc4f5
5 changed files with 21 additions and 36 deletions

View file

@ -65,13 +65,7 @@ public class ActionGameManager : MonoBehaviour
SetCurrentEntity = entity => CurrentEntity = entity,
GetViewDirection = () => _viewDirection,
SetViewDirection = direction => _viewDirection = direction,
ResolveZoneRender = () => ResolveDaemonObserver()
?.Client
?.Aetheria()
.ZoneRender
.LatestAsync()
.GetAwaiter()
.GetResult(),
ResolveZoneRender = () => ResolveDaemonObserver()?.LastObservedState?.ZoneRender,
ApplyActionBarBindings = ActionBarBindings.ApplyBindings,
EnablePlayerInput = EnablePlayerInput,
DisablePlayerInput = DisablePlayerInput,