fix subobject initialization

This commit is contained in:
Martin Michelsen
2022-08-27 23:00:50 -07:00
parent 0908ba5599
commit 1ed06283a2
2 changed files with 3 additions and 3 deletions
+2 -2
View File
@@ -693,8 +693,8 @@ void ProxyServer::LinkedSession::send_to_game_server(const char* error_message)
const auto& port_name = version_to_port_name.at(static_cast<size_t>(
this->version));
S_Reconnect_19 reconnect_cmd = {
0, this->server->state->name_to_port_config.at(port_name)->port, 0};
S_Reconnect_19 reconnect_cmd = {{
0, this->server->state->name_to_port_config.at(port_name)->port, 0}};
// If the client is on a virtual connection, we can use any address
// here and they should be able to connect back to the game server. If