From 64732308f44b76cec7c33a7a4dd22777e222f24a Mon Sep 17 00:00:00 2001 From: MysterD Date: Sat, 19 Sep 2020 01:56:45 -0700 Subject: [PATCH] Prevent useless keep-alive packets --- src/pc/network/network.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/pc/network/network.c b/src/pc/network/network.c index b0b2962b..7bcd2323 100644 --- a/src/pc/network/network.c +++ b/src/pc/network/network.c @@ -115,6 +115,7 @@ void network_send(struct Packet* p) { p->localIndex = i; network_send_to(i, p); } + gLastNetworkSend = clock(); } void network_receive(u8 localIndex, u8* data, u16 dataLength) {