Prevent useless keep-alive packets

This commit is contained in:
MysterD 2020-09-19 01:56:45 -07:00
parent c4b82e7082
commit 64732308f4

View file

@ -115,6 +115,7 @@ void network_send(struct Packet* p) {
p->localIndex = i; p->localIndex = i;
network_send_to(i, p); network_send_to(i, p);
} }
gLastNetworkSend = clock();
} }
void network_receive(u8 localIndex, u8* data, u16 dataLength) { void network_receive(u8 localIndex, u8* data, u16 dataLength) {