Use named managed shared state accessors
This commit is contained in:
parent
a924b0e35b
commit
68fc0b0aa1
15 changed files with 144 additions and 56 deletions
|
|
@ -163,11 +163,8 @@ public sealed class AetheriaUnityObservedDockingIndex
|
|||
snapshot = null;
|
||||
try
|
||||
{
|
||||
snapshot = _resolveClient()
|
||||
?.Aetheria()
|
||||
.DockingState
|
||||
.Latest();
|
||||
return snapshot != null;
|
||||
var client = _resolveClient();
|
||||
return client?.Aetheria().DockingState.TryLatest(out snapshot) == true;
|
||||
}
|
||||
catch
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in a new issue