Tell the user why they can't send requests on self-built instance

This commit is contained in:
2025-06-30 14:38:45 -07:00
parent 68e61a9370
commit 0347dac2d8
23 changed files with 338 additions and 36 deletions

View File

@@ -53,6 +53,9 @@ public class AccountChangeUsername : MonoBehaviour
case "-997":
AccountHandler.UpdateStatusText(changeUsernameStatusText, "Encryption/decryption issues", Color.red);
break;
case "-996":
AccountHandler.UpdateStatusText(changeUsernameStatusText, "Can't send requests on self-built instance", Color.red);
break;
case "1":
PlayerPrefs.SetString("userName", changeUsernameNewUsernameInput.text);
AccountHandler.instance.SwitchPanel(0);
@@ -73,4 +76,4 @@ public class AccountChangeUsername : MonoBehaviour
break;
}
}
}
}