support waiting for seconds with fractions

develop
Sascha Nitsch 2024-08-29 20:04:56 +02:00
parent 23d0b7ae9e
commit 7dd3987bd8
1 changed files with 1 additions and 1 deletions

View File

@ -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;
}