Revert no-lonely-if

This commit is contained in:
Ray Schamp 2016-10-24 10:28:31 -04:00
parent 1bd1d8e8d1
commit 14a2dbc50f

View file

@ -77,10 +77,12 @@ var execute = function (sequencer, thread) {
if (!edgeWasActivated) { if (!edgeWasActivated) {
sequencer.retireThread(thread); sequencer.retireThread(thread);
} }
} else if (!resolvedValue) { } else {
// Not an edge-activated hat: retire the thread // Not an edge-activated hat: retire the thread
// if predicate was false. // if predicate was false.
sequencer.retireThread(thread); if (!resolvedValue) {
sequencer.retireThread(thread);
}
} }
} else { } else {
// In a non-hat, report the value visually if necessary if // In a non-hat, report the value visually if necessary if