From 68fabef2bed3a356544ad36f640bba9fb3cbd78a Mon Sep 17 00:00:00 2001 From: SpudGunMan Date: Wed, 18 Sep 2024 14:54:37 -0700 Subject: [PATCH] Update mesh_bot.py --- mesh_bot.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/mesh_bot.py b/mesh_bot.py index 3a872de..1834af0 100755 --- a/mesh_bot.py +++ b/mesh_bot.py @@ -502,6 +502,7 @@ def onReceive(packet, interface): #if time exceeds 8 hours reset the player if dwPlayerTracker[i].get('last_played') < (time.time() - 28800): + logger.debug(f"System: DopeWars: Resetting player {message_from_id}") dwPlayerTracker.pop(i) # play the game @@ -519,6 +520,7 @@ def onReceive(packet, interface): #if time exceeds 8 hours reset the player if lemonadeTracker[i].get('time') < (time.time() - 28800): + logger.debug(f"System: LemonadeStand: Resetting player {message_from_id}") lemonadeTracker.pop(i) # play the game