summaryrefslogtreecommitdiff
path: root/src/network
diff options
context:
space:
mode:
Diffstat (limited to 'src/network')
-rw-r--r--src/network/network_udp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/network/network_udp.c b/src/network/network_udp.c
index aeef75e77..2ecf0c04d 100644
--- a/src/network/network_udp.c
+++ b/src/network/network_udp.c
@@ -50,7 +50,7 @@ DEF_UDP_RECEIVE_COMMAND(PACKET_UDP_CLIENT_FIND_SERVER)
_network_game_info.spectators_on = NetworkSpectatorCount();
_network_game_info.grfconfig = _grfconfig;
- NetworkSend_NetworkGameInfo(p, &_network_game_info);
+ NetworkSend_NetworkGameInfo(packet, &_network_game_info);
// Let the client know that we are here
NetworkSendUDP_Packet(_udp_server_socket, packet, client_addr);