Allow pings through unknown players
This commit is contained in:
parent
2fa5d68260
commit
f6f22b1629
|
@ -202,7 +202,9 @@ bool network_allow_unknown_local_index(enum PacketType packetType) {
|
|||
|| (packetType == PACKET_DOWNLOAD_REQUEST)
|
||||
|| (packetType == PACKET_DOWNLOAD)
|
||||
|| (packetType == PACKET_KEEP_ALIVE)
|
||||
|| (packetType == PACKET_DEBUG_SYNC);
|
||||
|| (packetType == PACKET_DEBUG_SYNC)
|
||||
|| (packetType == PACKET_PING)
|
||||
|| (packetType == PACKET_PONG);
|
||||
}
|
||||
|
||||
void network_send_to(u8 localIndex, struct Packet* p) {
|
||||
|
|
Loading…
Reference in New Issue