Skip to content

Commit

Permalink
Fix version number not being sent properly to the server
Browse files Browse the repository at this point in the history
  • Loading branch information
Crystalwarrior committed Dec 8, 2024
1 parent 1834c13 commit e711439
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/packet_distribution.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ void AOApplication::server_packet_received(AOPacket *p_packet)

net_manager->server_connected(true);

QStringList f_contents = {"AO2", QString::number(get_release()) + QString::number(get_major_version()) + QString::number(get_minor_version())};
QStringList f_contents = {"AO2", QString("%1.%2.%3").arg(QString::number(get_release()), QString::number(get_major_version()), QString::number(get_minor_version()))};
send_server_packet(new AOPacket("ID", f_contents));
}
else if (header == "CT") {
Expand Down

0 comments on commit e711439

Please sign in to comment.