diff --git a/js/funktionen.js b/js/funktionen.js index 84c7dee..45eccf2 100644 --- a/js/funktionen.js +++ b/js/funktionen.js @@ -1,7 +1,7 @@ function fillArray(name, number, playerAnim) { - for (let i = 1; i++; i <= number) { + for (let i = 1 ; i <= number ; i++) { playerAnim[i] = name + i + ".png"; } } \ No newline at end of file