forked from Clones/Controlify
🐛 Prevent disabling controller when pressing 'Maybe Later' on the calibration screen if the controller is already calibrated.
This commit is contained in:
@ -196,9 +196,12 @@ public class ControllerCalibrationScreen extends Screen {
|
||||
|
||||
private void onLaterButtonPress() {
|
||||
if (!calibrated) {
|
||||
controller.config().delayedCalibration = true;
|
||||
Controlify.instance().config().setDirty();
|
||||
Controlify.instance().setCurrentController(null);
|
||||
if (!controller.config().deadzonesCalibrated) {
|
||||
controller.config().delayedCalibration = true;
|
||||
Controlify.instance().config().setDirty();
|
||||
Controlify.instance().setCurrentController(null);
|
||||
}
|
||||
|
||||
onClose();
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user