From ed9ff670c4348113d977002b97213246d6987e8c Mon Sep 17 00:00:00 2001 From: "Theunis J. Botha" Date: Tue, 15 Nov 2016 10:33:13 +0100 Subject: [PATCH] null --- src/game-lib-component-follow.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/game-lib-component-follow.js b/src/game-lib-component-follow.js index 08cf098..ac5bdd1 100644 --- a/src/game-lib-component-follow.js +++ b/src/game-lib-component-follow.js @@ -27,7 +27,7 @@ GameLib.D3.ComponentFollow = function ComponentFollow( GameLib.D3.Utils.Extend(GameLib.D3.ComponentFollow, GameLib.D3.ComponentInterface); if (GameLib.D3.Utils.UndefinedOrNull(targetEntity)) { - targetEntity = new GameLib.D3.Entity(); + targetEntity = null; } this.targetEntity = targetEntity;