This commit is contained in:
Richard Davey 2020-11-28 15:42:23 +00:00
parent 6dd40df318
commit 41a0c192a4

View file

@ -694,8 +694,8 @@ var GameObject = new Class({
if (this.displayList) if (this.displayList)
{ {
this.displayList.remove(this);
this.displayList.queueDepthSort(); this.displayList.queueDepthSort();
this.displayList.remove(this);
} }
if (this.input) if (this.input)