Browse Source

fix step-down detection

feature/balanceutils
Fr3deric 8 years ago committed by Frederic
parent
commit
ed2b984e6e
  1. 2
      ttrs.py

2
ttrs.py

@ -266,8 +266,6 @@ class BalanceTtrsPlayer(TtrsPlayer, threading.Thread): @@ -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:

Loading…
Cancel
Save