diff --git a/src/itdelatrisu/opsu/Options.java b/src/itdelatrisu/opsu/Options.java index 79b5df7e..4e6308b9 100644 --- a/src/itdelatrisu/opsu/Options.java +++ b/src/itdelatrisu/opsu/Options.java @@ -639,13 +639,18 @@ public class Options { @Override public void clickListItem(int index) { + val = index; Dancer.sliderMoverController = Dancer.sliderMovers[index]; } + @Override + public String write() { + return String.valueOf(val); + } + @Override public void read(String s) { - super.read(s); - Dancer.sliderMoverController = Dancer.sliderMovers[val]; + Dancer.sliderMoverController = Dancer.sliderMovers[val = Integer.parseInt(s)]; } },