Browse Source

bugfix v0.2

Neccor 4 years ago
parent
commit
407e7893ef
1 changed files with 8 additions and 8 deletions
  1. 8
    8
      main.py

+ 8
- 8
main.py View File

@@ -135,7 +135,7 @@ def win_loop(win_rounds):
135 135
 	while True:
136 136
 		time.sleep(1)
137 137
 
138
-		while v_continue == False or v_ready == False:
138
+		while win_rounds >= 31:
139 139
 			time.sleep(1)
140 140
 			pyautogui.screenshot("screenshot.png")
141 141
 			f_continue = find_image("continue.png")
@@ -151,12 +151,12 @@ def win_loop(win_rounds):
151 151
 				time.sleep(1)
152 152
 
153 153
 
154
-# Siege
155
-win_rounds = 0
156
-while win_rounds >= 30:
157
-	win_loop(win_rounds)
158
-
159 154
 # Niederlage
160 155
 loose_rounds = 0
161
-while loose_rounds >= 30:
162
-	loose_loop(loose_rounds)
156
+while loose_rounds <= 30:
157
+	loose_loop(loose_rounds)
158
+
159
+# Siege
160
+win_rounds = 0
161
+while win_rounds <= 30:
162
+	win_loop(win_rounds)

Loading…
Cancel
Save