beta.r3js.org
Theunis J. Botha 2016-11-15 10:33:13 +01:00
parent 7c62a686a8
commit ed9ff670c4
1 changed files with 1 additions and 1 deletions

View File

@ -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;