Skip to content

Commit 4480573

Browse files
committed
fix thing
1 parent 39454e1 commit 4480573

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

icarusTools.py

+3-5
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,6 @@
33
2. Auto running with stamina management.
44
'''
55

6-
F_INTERVAL = .1
7-
86
# No flatbread
97
RUN_TIME = 13
108
REST_TIME = 7
@@ -25,9 +23,9 @@
2523
runLock = Lock()
2624

2725
def rapidF():
28-
while rapid_f:
29-
kb.send('f')
30-
sleep(F_INTERVAL)
26+
with hr.holdKeyContext('f'):
27+
while rapid_f:
28+
sleep(.5)
3129
print('rapid f: stop')
3230

3331
def autoRun():

0 commit comments

Comments
 (0)