From ac69077e8a1312c2694ed675265b770b624aa487 Mon Sep 17 00:00:00 2001 From: logsol Date: Sat, 7 Feb 2015 16:16:28 +0100 Subject: [PATCH] disabled spectator doll - was falling forever --- app/Game/Core/GameObjects/SpectatorDoll.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/app/Game/Core/GameObjects/SpectatorDoll.js b/app/Game/Core/GameObjects/SpectatorDoll.js index a6afbf3..912314a 100644 --- a/app/Game/Core/GameObjects/SpectatorDoll.js +++ b/app/Game/Core/GameObjects/SpectatorDoll.js @@ -8,7 +8,7 @@ function (Parent, Box2D) { "use strict"; function SpectatorDoll(physicsEngine, uid, player) { - Parent.call(this, physicsEngine, uid); + //Parent.call(this, physicsEngine, uid); } SpectatorDoll.prototype = Object.create(Parent.prototype); @@ -33,6 +33,9 @@ function (Parent, Box2D) { SpectatorDoll.prototype.update = function() { }; + + SpectatorDoll.prototype.destroy = function() { + }; return SpectatorDoll;