Skip to content

Commit

Permalink
Update speed_bomb.py
Browse files Browse the repository at this point in the history
  • Loading branch information
Michael Chirlin committed Feb 7, 2024
1 parent 2801069 commit 2b859e0
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions games/speed_bomb.py
Original file line number Diff line number Diff line change
Expand Up @@ -260,13 +260,9 @@ def reset_bomb_time(self, reset_length):

def rotate_colors(self):
in_cons = []
for move_serial in self.moves:
self.opts[move_serial][Opts.HAS_BOMB.value] = True
self.opts[move_serial][Opts.HOLDING.value] = True
while len(in_cons) != len(self.moves):
for move_serial in self.moves:
for move_serial_beg in self.moves:
logger.debug("Selection: {}".format(self.opts[move_serial_beg][Opts.SELECTION.value]))
if self.opts[move_serial_beg][Opts.SELECTION.value] == Selection.A_BUTTON.value:
logger.debug("Pressed A Button")
if move_serial_beg not in in_cons:
Expand Down

0 comments on commit 2b859e0

Please sign in to comment.