Fix RemoveCallback call on Group

This commit is contained in:
orblazer 2018-03-21 00:17:44 +01:00
parent 28206e872f
commit 4f7f2b8981

View file

@ -454,6 +454,11 @@ var Group = new Class({
this.children.delete(child);
if (this.removeCallback)
{
this.removeCallback.call(this, child);
}
if (removeFromScene)
{
this.scene.sys.displayList.remove(child);