1
0
forked from Clones/Controlify

🐛 Fix calibration screen getting stuck if controller was disconnected

This commit is contained in:
isXander
2023-06-12 19:38:30 +01:00
parent 23f9bc8d1a
commit adc439128f

View File

@ -96,6 +96,11 @@ public class ControllerDeadzoneCalibrationScreen extends Screen {
@Override
public void tick() {
if (!ControllerManager.isControllerConnected(controller.uid())) {
onClose();
return;
}
if (!calibrating)
return;