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
|
|
@ -532,7 +532,10 @@ public class TradeMenu : MonoBehaviour
|
|||
try
|
||||
{
|
||||
docking = ResolveClient()
|
||||
.CurrentDockingAsync()
|
||||
.Aetheria()
|
||||
.Current
|
||||
.Docking
|
||||
.LatestAsync()
|
||||
.GetAwaiter()
|
||||
.GetResult();
|
||||
}
|
||||
|
|
@ -553,7 +556,9 @@ public class TradeMenu : MonoBehaviour
|
|||
try
|
||||
{
|
||||
_stationRefit = ResolveClient()
|
||||
.StationRefitAsync()
|
||||
.Aetheria()
|
||||
.StationRefit
|
||||
.LatestAsync()
|
||||
.GetAwaiter()
|
||||
.GetResult();
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue