diff --git a/src/content/platformer/step14_en.md b/src/content/platformer/step14_en.md index 8122a63..ba6a575 100644 --- a/src/content/platformer/step14_en.md +++ b/src/content/platformer/step14_en.md @@ -72,7 +72,7 @@ Here's how the whole thing will look like: 1. The key is very similar to the door, but it just has a single image, not a spritesheet: ```js - LoadingState.preload = function () { + PlayState.preload = function () { // ... this.game.load.image('key', 'images/key.png'); };