fix deallocate bug
This commit is contained in:
@@ -235,6 +235,7 @@ class ItemList extends Phaser.Scene {
|
||||
if (cBox.item === item) cBox.deallocate();
|
||||
});
|
||||
this.combinerItems[clearIndex] = -1;
|
||||
this.registry.set('combinerItems', this.combinerItems);
|
||||
}
|
||||
item.setPosition(item.origX, item.origY);
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user