Skip to content

Commit

Permalink
Added files via upload
Browse files Browse the repository at this point in the history
  • Loading branch information
Druido87 committed Apr 25, 2016
1 parent 5b2d82c commit b7ef6a1
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions sorgente/interprete.js
Expand Up @@ -314,11 +314,12 @@ var Azioni = {
}
}
// Se arriva qui o non c'erano condizioni o sono state soddisfatte
Azioni[gruppo][ia].passo++;
if (Azioni[gruppo][ia].passo == azione.passi + 1) {
if (Azioni[gruppo][ia].passo == azione.passi) {
Azioni[gruppo][ia].passo = 0;
if (azione.ripeti == 1) Azioni[gruppo].splice(ia, 1); ia--;
Azioni.esegui(azione);
} else {
Azioni[gruppo][ia].passo++;
}
}
}
Expand Down Expand Up @@ -972,4 +973,4 @@ function _immagine(img, w, h) {
}
function _prosegui() {
Azioni.valore('prosegui', 1);
}
}

0 comments on commit b7ef6a1

Please sign in to comment.