mirror of
https://codeberg.org/vlw/monkeydo.git
synced 2025-09-13 15:53:40 +02:00
Minor changes
This commit is contained in:
parent
3ab606641e
commit
d1b04e406b
2 changed files with 2 additions and 3 deletions
|
@ -95,7 +95,6 @@ export default class Monkeydo extends MonkeyWorker {
|
||||||
// Execute tasks from Monkeydo manifest
|
// Execute tasks from Monkeydo manifest
|
||||||
do() {
|
do() {
|
||||||
// Hand over the loaded manifest to the MonkeyWorker task manager
|
// Hand over the loaded manifest to the MonkeyWorker task manager
|
||||||
const monkey = this.giveManifest();
|
this.giveManifest().then(() => this.play());
|
||||||
this.play();
|
|
||||||
}
|
}
|
||||||
}
|
}
|
|
@ -82,7 +82,7 @@ class Monkey {
|
||||||
|
|
||||||
// Decrement loop iterations if not infinite (negative int)
|
// Decrement loop iterations if not infinite (negative int)
|
||||||
if(this.flags.loop > 0) {
|
if(this.flags.loop > 0) {
|
||||||
this.flags.loop = this.flags.loop - 1;
|
this.flags.loop--;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue