Use direct document reads in inventory menus

This commit is contained in:
Meta Vens 2026-06-27 16:03:29 +01:00
commit 2aea7b79fc
3 changed files with 17 additions and 18 deletions

View file

@ -787,9 +787,7 @@ public class InventoryMenu : MonoBehaviour
.Aetheria()
.Current
.Entity
.LatestAsync()
.GetAwaiter()
.GetResult();
.Latest();
}
catch (Exception ex)
{
@ -807,9 +805,7 @@ public class InventoryMenu : MonoBehaviour
return ResolveClient()
.Aetheria()
.StationRefit
.LatestAsync()
.GetAwaiter()
.GetResult();
.Latest();
}
catch (Exception ex)
{
@ -828,9 +824,7 @@ public class InventoryMenu : MonoBehaviour
.Aetheria()
.Current
.Docking
.LatestAsync()
.GetAwaiter()
.GetResult();
.Latest();
}
catch (Exception ex)
{

View file

@ -1139,9 +1139,7 @@ private void Update()
.Aetheria()
.Current
.Entity
.LatestAsync()
.GetAwaiter()
.GetResult()
.Latest()
?.EntityKey ?? "";
}
catch (Exception ex)
@ -1194,9 +1192,7 @@ private void Update()
.Aetheria()
.Current
.Docking
.LatestAsync()
.GetAwaiter()
.GetResult();
.Latest();
}
catch (Exception ex)
{
@ -1214,9 +1210,7 @@ private void Update()
return ResolveClient()
.Aetheria()
.StationRefit
.LatestAsync()
.GetAwaiter()
.GetResult();
.Latest();
}
catch (Exception ex)
{