From 2bbbf14ea657c8fa0ab658f0a22eabe9dc9e246b Mon Sep 17 00:00:00 2001 From: Aigio Liu Date: Wed, 27 Nov 2024 23:35:54 +0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9B=20BasicPlatformSwitcher(DeleteRegi?= =?UTF-8?q?stryKey)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Services.Implementation/BasicPlatformSwitcher.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/BD.WTTS.Client.Plugins.GameAccount/Services.Implementation/BasicPlatformSwitcher.cs b/src/BD.WTTS.Client.Plugins.GameAccount/Services.Implementation/BasicPlatformSwitcher.cs index d440f8e45..c04bf8fae 100644 --- a/src/BD.WTTS.Client.Plugins.GameAccount/Services.Implementation/BasicPlatformSwitcher.cs +++ b/src/BD.WTTS.Client.Plugins.GameAccount/Services.Implementation/BasicPlatformSwitcher.cs @@ -199,7 +199,7 @@ public sealed class BasicPlatformSwitcher : IPlatformSwitcher // If set to clear LoginCache for account before adding (Enabled by default): if (platform.IsRegDeleteOnClear) { - if (IRegistryService.Instance.SetRegistryKey(accFile[4..])) return true; + if (IRegistryService.Instance.DeleteRegistryKey(accFile[4..])) return true; } else {