Skip to content

Commit

Permalink
fixed turn on controller after game started bug
Browse files Browse the repository at this point in the history
  • Loading branch information
adangert committed Apr 22, 2020
1 parent 360a29a commit 4a47e45
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion piparty.py
Original file line number Diff line number Diff line change
Expand Up @@ -1015,7 +1015,8 @@ def retrack_removed_controllers(self, game_moves):
self.check_for_new_moves()
for move_serial in [move.get_serial() for move in self.moves if move.get_serial() not in game_moves]:
#This allows joustmania to re-find the removed controller
del self.tracked_moves[move_serial]
if move_serial in self.tracked_moves.keys():
del self.tracked_moves[move_serial]



Expand Down

0 comments on commit 4a47e45

Please sign in to comment.