Use Aetheria state handles for docking UI reads
This commit is contained in:
parent
2884cef870
commit
7846c4d802
7 changed files with 60 additions and 20 deletions
|
|
@ -1191,7 +1191,10 @@ private void Update()
|
|||
try
|
||||
{
|
||||
docking = ResolveClient()
|
||||
.CurrentDockingAsync()
|
||||
.Aetheria()
|
||||
.Current
|
||||
.Docking
|
||||
.LatestAsync()
|
||||
.GetAwaiter()
|
||||
.GetResult();
|
||||
}
|
||||
|
|
@ -1209,7 +1212,9 @@ private void Update()
|
|||
try
|
||||
{
|
||||
return ResolveClient()
|
||||
.StationRefitAsync()
|
||||
.Aetheria()
|
||||
.StationRefit
|
||||
.LatestAsync()
|
||||
.GetAwaiter()
|
||||
.GetResult();
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue