From fd8e406da5e8c655bc05842ff94c9eb3390628b0 Mon Sep 17 00:00:00 2001
From: tetris245 <58624501+tetris245@users.noreply.github.com>
Date: Thu, 12 May 2022 21:46:08 +0200
Subject: [PATCH] Final version (?)

I don't think I need to add Nina suggestion, but maybe I'm wrong. Anyway the condition is now correctly working, and I've removed the spaces to use tabs.
---
 BondageClub/Screens/Character/Title/Title.js | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

diff --git a/BondageClub/Screens/Character/Title/Title.js b/BondageClub/Screens/Character/Title/Title.js
index 1546b79a6e..bb03c1f7fb 100644
--- a/BondageClub/Screens/Character/Title/Title.js
+++ b/BondageClub/Screens/Character/Title/Title.js
@@ -211,12 +211,12 @@ function TitleExit() {
 	if (Nick == null) Nick = "";
 	Nick = Nick.trim().substring(0, 20);
 	if (Regex.test(Nick)) {
-                if (Nick == Player.Name || ((Nick != Player.Name) && (Nick != tmpname)) ) {  
+		 if (Nick != tmpname) {   
 			ChatRoomPublishCustomAction("NicknameChange", false, dictionary);
-                }
-                Player.Nickname = Nick;
-	        ServerAccountUpdate.QueueData({ Nickname: Nick });
-	        ElementRemove("InputNickname");
-                CommonSetScreen("Character", "InformationSheet");
+		}
+	Player.Nickname = Nick;
+	ServerAccountUpdate.QueueData({ Nickname: Nick });
+	ElementRemove("InputNickname");
+	CommonSetScreen("Character", "InformationSheet");
 	}
 }