From a36e105e830a7326ce15f9faee963dd3741c909e Mon Sep 17 00:00:00 2001 From: Andrew Kesterson Date: Mon, 9 Jun 2014 22:34:20 -0700 Subject: [PATCH] Midstream on tutorial --- phaser-tutorial/part1.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/phaser-tutorial/part1.html b/phaser-tutorial/part1.html index 6c4dac2..a4e0cea 100644 --- a/phaser-tutorial/part1.html +++ b/phaser-tutorial/part1.html @@ -25,7 +25,7 @@ function preload() { }; for (var k in assets) { if ( assets[k].length == 0 ) { - game.load.image(k, assets[k]); + game.load.image(k, assets[k][0]); } else { game.load.spritesheet(k, assets[k][0], assets[k][1], assets[k][2]); }