diff --git a/moonlight/js/moonlight-skulk.js b/moonlight/js/moonlight-skulk.js index bb64dcd..4f53b3d 100644 --- a/moonlight/js/moonlight-skulk.js +++ b/moonlight/js/moonlight-skulk.js @@ -33,6 +33,8 @@ var Light = function(game, x, y, key, frame, radius, fade, color, flicker) { fade = ( typeof fade == undefined ? 0.25 : fade ); radius = ( typeof radius == undefined ? 64 : radius ); flicker = ( typeof flicker == undefined ? false : flicker ); + console.log("Making a light : " + [x, y, key, frame, radius, fade, color, flicker]); + Phaser.Sprite.call(this, game, x, y, null); // Set the pivot point for this sprite to the center