fix deallocate bug
This commit is contained in:
parent
b022845ff7
commit
9ba8c478cc
@ -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);
|
||||
};
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user