Skip to content

Commit 9a76f40

Browse files
committed
No such property as target, swap to _follow.
1 parent f8cda69 commit 9a76f40

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

src/cameras/2d/Camera.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1210,11 +1210,11 @@ var Camera = new Class({
12101210

12111211
this.culledObjects = [];
12121212

1213-
this.target = undefined;
1213+
this._follow = null;
12141214

1215-
this._bounds = undefined;
1215+
this._bounds = null;
12161216

1217-
this.scene = undefined;
1217+
this.scene = null;
12181218
}
12191219

12201220
});

0 commit comments

Comments
 (0)