Skip to content

Commit 8830922

Browse files
committed
Fix token type setup
1 parent ea9e574 commit 8830922

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

robot/vision.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -93,10 +93,10 @@ def create_marker_lut(counts, zone): # def create_marker_lut(offset, counts, zo
9393
for n in range(0, num_markers):
9494
token_type = TOKEN_NONE
9595
if marker_type == MARKER_TOKEN:
96-
if n < 9:
96+
if n < 10:
9797
token_type = TOKEN_ORE
9898
else:
99-
token_n = n - 9
99+
token_n = n - 10
100100
if int(token_n / 3) == zone:
101101
token_type = TOKEN_GOLD
102102
else:

0 commit comments

Comments
 (0)