mirror of
https://github.com/photonstorm/phaser
synced 2025-02-16 14:08:28 +00:00
Update World.js
This commit is contained in:
parent
48f3769e55
commit
e321be2130
1 changed files with 1 additions and 1 deletions
|
@ -1395,7 +1395,7 @@ var World = new Class({
|
||||||
}
|
}
|
||||||
|
|
||||||
// They overlap. Is there a custom process callback? If it returns true then we can carry on, otherwise we should abort.
|
// They overlap. Is there a custom process callback? If it returns true then we can carry on, otherwise we should abort.
|
||||||
if (processCallback && processCallback.call(callbackContext, body1.gameObject, body2.gameObject) === false)
|
if (processCallback && processCallback.call(callbackContext, (body1.gameObject || body1), (body2.gameObject || body2)) === false)
|
||||||
{
|
{
|
||||||
return result;
|
return result;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue