From 1d9c94896d17eb5fa9cf4744798f937d9fa0d3b0 Mon Sep 17 00:00:00 2001 From: Pownie Date: Sat, 14 Apr 2018 22:53:49 +0200 Subject: [PATCH] Red can go on bar as well now --- actual_board.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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):