VendorGrid#drain clears children

This commit is contained in:
Collin Smith 2020-07-12 16:56:29 -07:00
parent fe863584a4
commit bda2b7152b

View File

@ -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);