Skip to content

Commit 496e3bf

Browse files
authored
Update battletext.py
1 parent 3678cfb commit 496e3bf

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

battletext.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@ def get_words(letter, skipped, length):
2929

3030
def smart_randomizer(words:list, randomized=True):
3131
global word_history
32+
3233
# Toggle between human like typing and auto-robot
3334
new_list = words[:]
3435
random.shuffle(new_list)
@@ -47,6 +48,7 @@ def smart_randomizer(words:list, randomized=True):
4748

4849
def on_click(x, y, button, pressed):
4950
global current_position
51+
5052
# If mouse clicked store position and stop listener
5153
if pressed:
5254
current_position = (x, y)

0 commit comments

Comments
 (0)