From 03f1869b23f3c7729465f431d1757f006cac32cc Mon Sep 17 00:00:00 2001 From: SpudGunMan Date: Thu, 28 Nov 2024 22:59:49 -0800 Subject: [PATCH] Update mesh_bot.py --- mesh_bot.py | 1 + 1 file changed, 1 insertion(+) diff --git a/mesh_bot.py b/mesh_bot.py index f401bf4..d7e924b 100755 --- a/mesh_bot.py +++ b/mesh_bot.py @@ -884,6 +884,7 @@ def onReceive(packet, interface): if hop_start == hop_limit: hop = "Direct" + hop_count = 0 else: # set hop to Direct if the message was sent directly otherwise set the hop count if hop_away > 0: