27 lines
1.1 KiB
Plaintext
27 lines
1.1 KiB
Plaintext
--- Client/Assets/Scripts/Stages/PFLoginAct.cs (reviewed baseline)
|
|
|
|
+++ Client/Assets/Scripts/Stages/PFLoginAct.cs
|
|
|
|
@@ -71,6 +71,9 @@
|
|
|
|
loginToken.ThrowIfCancellationRequested();
|
|
UpdateLoadingInfo();
|
|
var configCustomId = config.Get<string>("CustomID", string.Empty);
|
|
+#if UNITY_EDITOR && !SERVICE_HOST
|
|
+ if(game.PlayerDataStorage.PlayerKVGameplayLoop.Enabled) configCustomId=game.PlayerDataStorage.PlayerKVGameplayLoop.Permit.PlayerId;
|
|
+#endif
|
|
if (configCustomId == @"{{input}}")
|
|
{
|
|
LoadingScreen.HideProgressBar();
|
|
@@ -93,6 +96,9 @@
|
|
|
|
loginToken.ThrowIfCancellationRequested();
|
|
if (step != ELoginStep.Done)
|
|
{
|
|
+#if UNITY_EDITOR && !SERVICE_HOST
|
|
+ if(game.PlayerDataStorage.PlayerKVGameplayLoop.Enabled) throw game.PlayerDataStorage.PlayerKVGameplayLoop.Stop("Login failed; restart the Unity process before another attempt.");
|
|
+#endif
|
|
//source.Cancel();
|
|
//source.Dispose();
|
|
await ReytryDialog(userService.Login, LocalizationMgr.GetText("subtitle_loginfailed")
|