yuzu-emu
/
yuzu
Archived
1
0
Fork 0

yuzu: Use displayed port on direct connect

This commit is contained in:
Narr the Reg 2024-01-02 10:17:26 -06:00
parent 29b983398c
commit 1b4cf7fc27
1 changed files with 1 additions and 1 deletions

View File

@ -94,7 +94,7 @@ void DirectConnectWindow::Connect() {
// Store settings
UISettings::values.multiplayer_nickname = ui->nickname->text().toStdString();
UISettings::values.multiplayer_ip = ui->ip->text().toStdString();
if (ui->port->isModified() && !ui->port->text().isEmpty()) {
if (!ui->port->text().isEmpty()) {
UISettings::values.multiplayer_port = ui->port->text().toInt();
} else {
UISettings::values.multiplayer_port = UISettings::values.multiplayer_port.GetDefault();