Update packets.cpp
Shouldn't send it if its garbage data
This commit is contained in:
parent
ea741f07a6
commit
9b27774fd3
@ -64,8 +64,10 @@ void AOClient::pktSoftwareId(AreaData* area, int argc, QStringList argv, AOPacke
|
||||
sendPacket("PN", {QString::number(server->player_count), server->max_players});
|
||||
sendPacket("FL", feature_list);
|
||||
|
||||
if (server->asset_url.isValid()) {
|
||||
QByteArray asset_url = server->asset_url.toEncoded(QUrl::EncodeSpaces);
|
||||
sendPacket("ASS", {asset_url});
|
||||
}
|
||||
}
|
||||
|
||||
void AOClient::pktBeginLoad(AreaData* area, int argc, QStringList argv, AOPacket packet)
|
||||
|
Loading…
Reference in New Issue
Block a user