mirror of
https://github.com/TES3MP/openmw-tes3mp.git
synced 2025-06-19 10:41:40 +00:00
[Browser] Not trying to download extended data if server is unreachable
This commit is contained in:
parent
6b42f870a7
commit
dba98f9261
1 changed files with 4 additions and 1 deletions
|
@ -217,7 +217,10 @@ void NetController::updateInfo()
|
||||||
|
|
||||||
QStringList addr = sd->addr.split(":");
|
QStringList addr = sd->addr.split(":");
|
||||||
sd->ping = PingRakNetServer(addr[0].toLatin1(), addr[1].toUShort());
|
sd->ping = PingRakNetServer(addr[0].toLatin1(), addr[1].toUShort());
|
||||||
sed = getExtendedData(addr[0].toLatin1(), addr[1].toUShort());
|
if(sd->ping != PING_UNREACHABLE)
|
||||||
|
sed = getExtendedData(addr[0].toLatin1(), addr[1].toUShort());
|
||||||
|
else
|
||||||
|
qDebug() << "Server is unreachable";
|
||||||
}
|
}
|
||||||
|
|
||||||
QStringList NetController::players()
|
QStringList NetController::players()
|
||||||
|
|
Loading…
Reference in a new issue