mirror of
https://github.com/collinsmith/riiablo.git
synced 2025-01-20 09:17:29 +07:00
VendorGrid#drain clears children
This commit is contained in:
parent
fe863584a4
commit
bda2b7152b
@ -35,6 +35,7 @@ public class VendorGrid extends ItemGrid {
|
||||
}
|
||||
|
||||
public int drain(Array<Item> items) {
|
||||
clearChildren();
|
||||
sort(items);
|
||||
Gdx.app.debug(TAG, "Draining " + items);
|
||||
GridPoint2 coords = new GridPoint2(0, 0);
|
||||
|
Loading…
Reference in New Issue
Block a user