From 40e8f0f7a92c6d08a30e36139b9485363c397b8d Mon Sep 17 00:00:00 2001 From: Aubrey Taylor Date: Sat, 4 Jan 2025 02:02:53 -0600 Subject: [PATCH] only send hole punches once per day --- src/player.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/player.rs b/src/player.rs index 0cc6763..2a45365 100644 --- a/src/player.rs +++ b/src/player.rs @@ -255,6 +255,7 @@ impl Handler for PlayerActor { match packet.data { PacketData::HolePunch(_) => { info!("got hole punch!"); + return; } PacketData::UdpInit(UdpInit { port }) => { info!("got udp init {port}!");