From b041f718c0829aa4313635345a3ecdd042024037 Mon Sep 17 00:00:00 2001 From: Andrew Kesterson Date: Wed, 11 Jun 2014 10:48:05 -0700 Subject: [PATCH] Null sprite for torches --- moonlight/js/moonlight-skulk.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/moonlight/js/moonlight-skulk.js b/moonlight/js/moonlight-skulk.js index a71e13e..9d23eb1 100644 --- a/moonlight/js/moonlight-skulk.js +++ b/moonlight/js/moonlight-skulk.js @@ -144,7 +144,7 @@ var moonlightSettings = { // Create torch objects // Torch constructor var Torch = function(game, x, y) { - Phaser.Sprite.call(this, game, x, y, 'player'); + Phaser.Sprite.call(this, game, x, y, null); // Set the pivot point for this sprite to the center this.anchor.setTo(0.5, 0.5);