Skip to content

Commit 9e803ff

Browse files
committed
Small fix.
1 parent dba84d5 commit 9e803ff

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/core/Camera.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ Phaser.Camera = function (game, id, x, y, width, height) {
106106
* @property {Phaser.Point} lerp
107107
* @default
108108
*/
109-
this.lerp = Phaser.Point(1, 1);
109+
this.lerp = new Phaser.Point(1, 1);
110110

111111
/**
112112
* @property {Phaser.Point} _targetPosition - Internal point used to calculate target position

0 commit comments

Comments
 (0)