support waiting for seconds with fractions
This commit is contained in:
parent
23d0b7ae9e
commit
7dd3987bd8
1 changed files with 1 additions and 1 deletions
|
@ -110,7 +110,7 @@ function mousemoverel($main, $control, $options)
|
|||
*/
|
||||
function sleep($main, $control, $options) : bool
|
||||
{
|
||||
usleep(intval($options['parameter']) * 1000000);
|
||||
usleep(floatval($options['parameter']) * 1000000);
|
||||
return true;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue