mirror of
https://github.com/photonstorm/phaser
synced 2024-11-25 06:00:41 +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.
|
||||
if (processCallback && processCallback.call(callbackContext, body1.gameObject, body2.gameObject) === false)
|
||||
if (processCallback && processCallback.call(callbackContext, (body1.gameObject || body1), (body2.gameObject || body2)) === false)
|
||||
{
|
||||
return result;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue