Only clear if id 0

This commit is contained in:
ProfessorProspector 2017-01-08 01:37:44 -08:00
parent a785d2a514
commit 0a9a62c455

View file

@ -104,7 +104,8 @@ public class GuiBase extends GuiContainer {
}
public void addPowerButton(int x, int y, int id, Layer layer) {
buttonList.clear();
if (id == 0)
buttonList.clear();
int factorX = 0;
int factorY = 0;
if (layer == Layer.BACKGROUND) {