Skip to content

Commit

Permalink
Fix token type setup
Browse files Browse the repository at this point in the history
  • Loading branch information
fenjalien committed Apr 10, 2019
1 parent ea9e574 commit 8830922
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions robot/vision.py
Original file line number Diff line number Diff line change
Expand Up @@ -93,10 +93,10 @@ def create_marker_lut(counts, zone): # def create_marker_lut(offset, counts, zo
for n in range(0, num_markers):
token_type = TOKEN_NONE
if marker_type == MARKER_TOKEN:
if n < 9:
if n < 10:
token_type = TOKEN_ORE
else:
token_n = n - 9
token_n = n - 10
if int(token_n / 3) == zone:
token_type = TOKEN_GOLD
else:
Expand Down

0 comments on commit 8830922

Please sign in to comment.