Learn: Store progress in 'nextButton' levels
parent
7628e78b59
commit
e23534cade
|
@ -26,7 +26,7 @@ module.exports = function (blueprint, opts) {
|
|||
var complete = function () {
|
||||
vm.willComplete = true;
|
||||
vm.score += scoring.getLevelBonus(blueprint, vm.nbMoves);
|
||||
if (!blueprint.nextButton) opts.onCompleteImmediate();
|
||||
opts.onCompleteImmediate();
|
||||
timeouts.setTimeout(
|
||||
function () {
|
||||
vm.lastStep = false;
|
||||
|
|
Loading…
Reference in New Issue