remove extra goto
I shouldn't have put that there in the first place, was trying to get it so you could just call functions and #Include flag.ahk in your own script. Figured that wasn't a good idea
This commit is contained in:
parent
60f7bbbbd5
commit
e3722ec509
3
flag.ahk
3
flag.ahk
@ -139,7 +139,7 @@ translate(url, data, length)
|
|||||||
If (length = 0)
|
If (length = 0)
|
||||||
{
|
{
|
||||||
req(url, data)
|
req(url, data)
|
||||||
Goto, tEnd
|
ExitApp
|
||||||
} Else {
|
} Else {
|
||||||
time_to_run := length * 1000
|
time_to_run := length * 1000
|
||||||
start_time := A_TickCount
|
start_time := A_TickCount
|
||||||
@ -154,7 +154,6 @@ translate(url, data, length)
|
|||||||
Sleep, (length * 1000)
|
Sleep, (length * 1000)
|
||||||
off()
|
off()
|
||||||
}
|
}
|
||||||
tEnd:
|
|
||||||
}
|
}
|
||||||
|
|
||||||
off()
|
off()
|
||||||
|
Loading…
Reference in New Issue
Block a user