null
parent
7c62a686a8
commit
ed9ff670c4
|
@ -27,7 +27,7 @@ GameLib.D3.ComponentFollow = function ComponentFollow(
|
||||||
GameLib.D3.Utils.Extend(GameLib.D3.ComponentFollow, GameLib.D3.ComponentInterface);
|
GameLib.D3.Utils.Extend(GameLib.D3.ComponentFollow, GameLib.D3.ComponentInterface);
|
||||||
|
|
||||||
if (GameLib.D3.Utils.UndefinedOrNull(targetEntity)) {
|
if (GameLib.D3.Utils.UndefinedOrNull(targetEntity)) {
|
||||||
targetEntity = new GameLib.D3.Entity();
|
targetEntity = null;
|
||||||
}
|
}
|
||||||
this.targetEntity = targetEntity;
|
this.targetEntity = targetEntity;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue