only send hole punches once per day
This commit is contained in:
parent
7d2549a650
commit
40e8f0f7a9
|
@ -255,6 +255,7 @@ impl Handler<Packet> for PlayerActor {
|
||||||
match packet.data {
|
match packet.data {
|
||||||
PacketData::HolePunch(_) => {
|
PacketData::HolePunch(_) => {
|
||||||
info!("got hole punch!");
|
info!("got hole punch!");
|
||||||
|
return;
|
||||||
}
|
}
|
||||||
PacketData::UdpInit(UdpInit { port }) => {
|
PacketData::UdpInit(UdpInit { port }) => {
|
||||||
info!("got udp init {port}!");
|
info!("got udp init {port}!");
|
||||||
|
|
Loading…
Reference in a new issue