forked from Clones/Controlify
🐛 Fix calibration screen getting stuck if controller was disconnected
This commit is contained in:
@ -96,6 +96,11 @@ public class ControllerDeadzoneCalibrationScreen extends Screen {
|
||||
|
||||
@Override
|
||||
public void tick() {
|
||||
if (!ControllerManager.isControllerConnected(controller.uid())) {
|
||||
onClose();
|
||||
return;
|
||||
}
|
||||
|
||||
if (!calibrating)
|
||||
return;
|
||||
|
||||
|
Reference in New Issue
Block a user