Fixed speed issue
This commit is contained in:
parent
8b07524e6b
commit
5afff62677
1 changed files with 1 additions and 1 deletions
|
@ -4,7 +4,7 @@ class SpeedCommand extends ImageCommand {
|
|||
params(args) {
|
||||
const speed = parseInt(args[0]);
|
||||
return {
|
||||
speed: isNaN(speed) ? 2 : speed
|
||||
speed: isNaN(speed) || speed < 1 ? 2 : speed
|
||||
};
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue