mirror of
https://github.com/photonstorm/phaser
synced 2024-11-25 14:10:42 +00:00
pointerConstraint can't getWorldPoint with no camera. Fix #6684
This commit is contained in:
parent
deba2d42b5
commit
0f55324632
1 changed files with 1 additions and 1 deletions
|
@ -305,7 +305,7 @@ var PointerConstraint = new Class({
|
|||
}
|
||||
else if (pointer.isDown)
|
||||
{
|
||||
if (!body && !this.getBody(pointer))
|
||||
if (!this.camera || (!body && !this.getBody(pointer)))
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue