From 02d462a82cce9b2548e3811244be1c97f0e34feb Mon Sep 17 00:00:00 2001 From: Curtis Shmyr Date: Sun, 7 Jun 2020 15:05:49 -0600 Subject: [PATCH] Fix copying public key to clipboard if already authed --- OpenRA.Game/LocalPlayerProfile.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/OpenRA.Game/LocalPlayerProfile.cs b/OpenRA.Game/LocalPlayerProfile.cs index 766a19f2b2..068c565ae9 100644 --- a/OpenRA.Game/LocalPlayerProfile.cs +++ b/OpenRA.Game/LocalPlayerProfile.cs @@ -80,8 +80,6 @@ namespace OpenRA { try { - innerState = LinkState.Unlinked; - if (i.Error != null) { innerState = LinkState.ConnectionFailed; @@ -100,6 +98,8 @@ namespace OpenRA else innerState = LinkState.Linked; } + else + innerState = LinkState.Unlinked; } catch (Exception e) {