Browse Source

gamemenu: fixed direction evaluation

feature/balanceutils
informaniac 7 years ago
parent
commit
77cb3516ca
  1. 2
      games/gamemenu.py

2
games/gamemenu.py

@ -264,7 +264,7 @@ class BalanceInput(AbstractInput, threading.Thread): @@ -264,7 +264,7 @@ class BalanceInput(AbstractInput, threading.Thread):
#print('player_id=%d event=%s' % (self.player_id, self.evt))
time.sleep(0.005)
else:
if direction != blup.balance_utils.Direction.QUIT:
if direction != blup.balance_util.Direction.QUIT:
self.evt = InputEvent.STEP_ON
self.player_present = True
continue

Loading…
Cancel
Save