From ed2b984e6e3f6fbfd77a5be89204dd382889be66 Mon Sep 17 00:00:00 2001 From: Frederic Date: Tue, 27 Dec 2016 15:02:42 +0100 Subject: [PATCH] fix step-down detection --- ttrs.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/ttrs.py b/ttrs.py index a918d73..bdb7dbd 100755 --- a/ttrs.py +++ b/ttrs.py @@ -266,8 +266,6 @@ class BalanceTtrsPlayer(TtrsPlayer, threading.Thread): print('player_id=%d xbal=%d ybal=%d' % (self.player_id, xbal, ybal)) if xbal == -128 or ybal == -128: self.evt = PlayerEvent.QUIT - self.running = False - break THRESHOLD = 40 if abs(xbal) < THRESHOLD and abs(ybal) < THRESHOLD: