diff --git a/scriptedbrowser/commands/base.php b/scriptedbrowser/commands/base.php index ac45a5f..d84f65b 100644 --- a/scriptedbrowser/commands/base.php +++ b/scriptedbrowser/commands/base.php @@ -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; }