Switch default username to eden

This commit is contained in:
Briar 2025-04-01 18:38:41 +02:00
parent efb94f76d0
commit b1ec0e9dec
2 changed files with 3 additions and 3 deletions

View file

@ -46,7 +46,7 @@ ProfileManager::ProfileManager() {
// Create an user if none are present
if (user_count == 0) {
CreateNewUser(UUID::MakeRandom(), "yuzu");
CreateNewUser(UUID::MakeRandom(), "eden");
WriteUserSaveFile();
}

View file

@ -64,14 +64,14 @@ Lobby::Lobby(QWidget* parent, QStandardItemModel* list,
QString::fromStdString(UISettings::values.multiplayer_nickname.GetValue()));
// Try find the best nickname by default
if (ui->nickname->text().isEmpty() || ui->nickname->text() == QStringLiteral("yuzu")) {
if (ui->nickname->text().isEmpty() || ui->nickname->text() == QStringLiteral("eden")) {
if (!Settings::values.yuzu_username.GetValue().empty()) {
ui->nickname->setText(
QString::fromStdString(Settings::values.yuzu_username.GetValue()));
} else if (!GetProfileUsername().empty()) {
ui->nickname->setText(QString::fromStdString(GetProfileUsername()));
} else {
ui->nickname->setText(QStringLiteral("yuzu"));
ui->nickname->setText(QStringLiteral("eden"));
}
}