diff --git a/src/packets.cpp b/src/packets.cpp index 13931af..a77fe75 100644 --- a/src/packets.cpp +++ b/src/packets.cpp @@ -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)