mirror of
https://github.com/photonstorm/phaser
synced 2024-11-22 12:43:26 +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)
|
else if (pointer.isDown)
|
||||||
{
|
{
|
||||||
if (!body && !this.getBody(pointer))
|
if (!this.camera || (!body && !this.getBody(pointer)))
|
||||||
{
|
{
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue