Neutralize Unity runtime client fallback
This commit is contained in:
parent
17af6f728d
commit
e1506d4db0
3 changed files with 13 additions and 3 deletions
|
|
@ -28,7 +28,9 @@ public static class AetheriaUnityRuntimeClientProvider
|
|||
|
||||
private static AetheriaClient ResolveClient(string stateFilePath, string runtimeId = "")
|
||||
{
|
||||
var effectiveRuntimeId = string.IsNullOrWhiteSpace(runtimeId) ? "raven-unity" : runtimeId;
|
||||
var effectiveRuntimeId = string.IsNullOrWhiteSpace(runtimeId)
|
||||
? AetheriaRuntimeStateBoundary.DefaultClientRuntimeId
|
||||
: runtimeId;
|
||||
var cacheKey = CacheKey(stateFilePath, effectiveRuntimeId);
|
||||
if (RuntimeClients.TryGetValue(cacheKey, out var runtimeClient))
|
||||
return runtimeClient;
|
||||
|
|
|
|||
Loading…
Reference in a new issue