diff --git a/moonlight/js/moonlight-skulk.js b/moonlight/js/moonlight-skulk.js index 75592dd..65e8295 100644 --- a/moonlight/js/moonlight-skulk.js +++ b/moonlight/js/moonlight-skulk.js @@ -579,6 +579,9 @@ var EffectSprite = function(game, x, y, key, frame, animation) { game.physics.arcade.enable(this); } +EffectSprite.prototype = Object.create(Phaser.Sprite.prototype); +EffectSprite.prototype.constructor = EffectSprite; + var AISprite = function(game, x, y, key, frame) { this.enableWordBubble = function() { this.enable_word_bubble = true;