diff --git a/src/assets/assets/platformer/steps/step09.js b/src/assets/assets/platformer/steps/step09.js index 5e63d0c..0d1d99a 100644 --- a/src/assets/assets/platformer/steps/step09.js +++ b/src/assets/assets/platformer/steps/step09.js @@ -118,7 +118,7 @@ PlayState._loadLevel = function (data) { // spawn all platforms data.platforms.forEach(this._spawnPlatform, this); // spawn hero and enemies - this._spawnCharacters({hero: data.hero, spiders: data.spiders}); + this._spawnCharacters({hero: data.hero}); // spawn important objects data.coins.forEach(this._spawnCoin, this); diff --git a/src/content/platformer/step09_en.md b/src/content/platformer/step09_en.md index b010af9..37d1798 100644 --- a/src/content/platformer/step09_en.md +++ b/src/content/platformer/step09_en.md @@ -40,7 +40,7 @@ To collect the coins we will **detect when the main character has touched** any // ... - this._spawnCharacters({hero: data.hero, spiders: data.spiders}); + this._spawnCharacters({hero: data.hero}); // spawn important objects data.coins.forEach(this._spawnCoin, this);