mirror of
https://github.com/scratchfoundation/scratch-vm.git
synced 2025-07-27 06:29:25 -04:00
Fix remaining lint issues
This commit is contained in:
parent
5113876588
commit
32bc087bba
7 changed files with 27 additions and 31 deletions
src/engine
|
@ -86,12 +86,10 @@ const execute = function (sequencer, thread) {
|
|||
sequencer.retireThread(thread);
|
||||
}
|
||||
}
|
||||
} else {
|
||||
} else if (!resolvedValue) {
|
||||
// Not an edge-activated hat: retire the thread
|
||||
// if predicate was false.
|
||||
if (!resolvedValue) {
|
||||
sequencer.retireThread(thread);
|
||||
}
|
||||
sequencer.retireThread(thread);
|
||||
}
|
||||
} else {
|
||||
// In a non-hat, report the value visually if necessary if
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue