fix scrolling buttons not saving new state
also fixes "none" being selectable for the standing_or_wall property
@@ -35,7 +35,7 @@ public class ToggleComponentButton extends IdButton {
public boolean mouseScrolled(double mouseX, double mouseY, double delta) {
if (clicked(mouseX, mouseY)) {
cycleIndex(-(int) Math.signum(delta));
- onPress.onPress(this);
+ onPress();
return true;
}
