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: