diff --git a/actual_board.py b/actual_board.py index 5a084c6..72976f6 100644 --- a/actual_board.py +++ b/actual_board.py @@ -153,7 +153,7 @@ class Board_painter: if chosen == 0: x = 525 y = 350 - elif chosen == 26: + elif chosen == 25: x = 525 y = 50 else: @@ -277,7 +277,7 @@ class Board_painter: # Have some check if we're looking for either rects in the bottom or top, # instead of having both here neg_tester = [rect.collidepoint(x,y-30) for rect in enemy_rects] - pos_tester = [rect.collidepoint(x,y+40) for rect in enemy_rects] + pos_tester = [rect.collidepoint(x,y+30) for rect in enemy_rects] print("Neg tester:",neg_tester) print("Pos tester:",pos_tester) if any(neg_tester):