Allow pings through unknown players

This commit is contained in:
MysterD 2023-03-27 22:12:48 -07:00
parent 2fa5d68260
commit f6f22b1629
1 changed files with 3 additions and 1 deletions

View File

@ -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) {