mirror of
https://gitgud.io/BondageProjects/Bondage-College.git
synced 2025-04-14 12:29:15 +00:00
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.
This commit is contained in:
parent
75940c13ea
commit
fd8e406da5
1 changed files with 6 additions and 6 deletions
|
@ -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");
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue