Allow pings through unknown players

This commit is contained in:
MysterD 2023-03-27 22:12:48 -07:00
parent 7df87d583e
commit 33b5552ea6

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